Parsing URL, Extracting Authority from the URL string

Adam D. Ruppe destructionator at gmail.com
Mon May 20 14:57:57 UTC 2019


On Monday, 20 May 2019 at 14:44:50 UTC, Boqsc wrote:
> I'm questioning, if D lang will ever include simple URL parsing 
> into their std Phobos library?

idk about phobos, but I have one of these in my web server library

http://dpldocs.info/experimental-docs/arsd.cgi.Uri.html

(also copy/pasted to the http client lib)
http://dpldocs.info/experimental-docs/arsd.http2.Uri.html

you can copy/paste it too if you like.

This package appears good to me too, with decent docs and sane 
looking tests, at least for data extraction (mine was written 
more for the relative link handling)

http://code.dlang.org/packages/urld


More information about the Digitalmars-d-learn mailing list