[erlang-questions] URL parsing and construction

Eric Merritt cyberlync@REDACTED
Tue Apr 8 06:57:40 CEST 2008


There is also uri parsing app in  erlware. You can get it for now by doing a

git clone git://git.erlware.org/git/uri.git

It probably provides what you need.

2008/4/7 Michael T. Richter <ttmrichter@REDACTED>:
>
>  On Mon, 2008-04-07 at 13:30 +0100, Dale Harvey wrote:
>
>  yaws provides functions for parsing urls
>
>  I looked at it and it gave me the clues for writing my own.  The yaws
> parser, however, can't cope with URLs of the form
> "<protocol>://<user>:<password>@<host>:<port>/<path>".  Specifically it
> doesn't support user/password combinations.
>
>  The code I wrote based on their parser handles it, but it's a bit obscenely
> large.  I'm not sure how to make it smaller, but it works well enough for my
> purposes at this time.
>
>
>  --
>  Michael T. Richter <ttmrichter@REDACTED> (GoogleTalk:
> ttmrichter@REDACTED)
>  The only reason some people get lost in thought is because it's unfamiliar
> territory. (Paul Fix)
> _______________________________________________
>  erlang-questions mailing list
>  erlang-questions@REDACTED
>  http://www.erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list