www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Uri module in phobos

reply simendsjo <simen.endsjo pandavre.com> writes:
The uri module in phobos only encodes and decodes. Has someone written 
(or are planning) a more comprehensive module that gives access to 
various components?
May 19 2011
parent Adam D. Ruppe <destructionator gmail.com> writes:
My cgi.d module does more comprehensive stuff:
http://arsdnet.net/dcode/cgi.d

Look for decodeVariables and encodeVariables. They are pretty
trivial function - split on the &, then decode each part.
May 19 2011