Closed paambaati closed 6 years ago
Hi @paambaati ,
The bug was in the lib in the area that handles http1 protocol, when using http1 endpoint with a string it's internally creates an URL instance which is enumerable, therefore, the extend used was not working.
I've used the same function that nodejs http1 lib use internally to solve this. The integration tests didn't catch it because the test server answers everything I will fix it to answer only specific path as a normal real life server would do.
Thanks!
When I execute the usage example, I get a
404
from the HTTP URL.I've verified that
http://www.example.com/
actually works and is a valid URL.