URI encoding

Serge Aleynikov serge@REDACTED
Wed Apr 19 20:20:49 CEST 2006


Decoding can be done like this:

1> http_uri:parse("http://host.net/dir/index.html#test").
{http,"host.net",80,"/dir/index.html","#test"}

I am not sure if there's a standard encoding function.

Serge

Tom Whitcomb wrote:
> Is there a function for encoding/decoding URIs (ietf rfc 2396)?  I looked through the online http, httpd and httpd_util modules definitions and couldn't find one.
> 
> tom
> 
> 
> __________________________________________________________________
> Switch to Netscape Internet Service.
> As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
> 
> Netscape. Just the Net You Need.
> 
> New! Netscape Toolbar for Internet Explorer
> Search from anywhere on the Web and block those annoying pop-ups.
> Download now at http://channels.netscape.com/ns/search/install.jsp



More information about the erlang-questions mailing list