http-one-oh-no

Make HTTP 1.0 requests

http-one-oh-no

Make HTTP 1.0 requests

Do you want to make an HTTP request using Node? Then this package is not what you are looking for. 99.9% of the time you want to be making HTTP 1.1 requests, not HTTP 1.0 requests like this package makes. The built in http module or the request npm package is what you actually want.

Because your server will get HTTP 1.0 requests without a Host header, and you should test that. Maybe there are other reasons.

No support for HTTPS. Only aiming to be close to http.request() and http.get(). This was all done hastily on a Sunday.

npm install http-one-oh-no

Usage is the same as the http.request and http.get functions.