Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Whatwg url #239
Per #238 - this updates Wreck to leverage the WHATWG Url parser rather than the old Url.parse.
There are some breaking changes in how hosts and URIs are parsed between the two methods, especially when it comes to host headers containing the port and also to Unix socket connections. I wanted to keep this as a non-breaking update in Wreck, so there are some maybe-weird conditionals to handle parsing the uri using the old Url.parse for Unix sockets as well as some weird property mapping.
With regards to the last point (
I'm assuming this is going to be a first pass, so please let me know what changes and simplifications you'd like to see. :)
I actually don't think so, mostly because of the support for Unix sockets. I cannot for the life of me find a way to get Unix sockets to play nicely with the WHATWG parser.