Open stevenvachon opened 7 years ago
Hm, the node http documentation doesn't mention WHATWG URL yet, and the node 7.8.0 url module documentation says this is a stability 1 (experimental) API.
Is anyone actually using this? It would be nice to support eventually, but it seems a little early. Given it isn't documented, what exactly needs to change in http?
Node 8.x will have a higher stability level. People will be using it very soon.
const url = new URL('http://domain');
http.get(url, function(response) {
// not supported in stream-http
});
``
I will work on this soon.
OK, looks like this is blocked until the url
module supports WHATWG URL: https://github.com/defunctzombie/node-url/issues/33
was been added to http/https in Node 7.5.0
I'm working on these to help: hasurl, isurl, isomorphic-url