Socket
Socket
Sign inDemoInstall

http-one-oh-no

Package Overview
Dependencies
1
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    http-one-oh-no

Make HTTP 1.0 requests


Version published
Maintainers
1
Install size
17.5 kB
Created

Readme

Source

http-one-oh-no

Make HTTP 1.0 requests

Synopsis

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.

But Then Why HTTP 1.0!?

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

Caveats

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

Installation

npm install http-one-oh-no

Usage

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

Keywords

FAQs

Last updated on 10 May 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc