Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

httpreq

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

httpreq - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

4

httpreq.js

@@ -118,3 +118,3 @@ /*

callback(null, {headers: res.headers, body: responsebody});
callback(null, {headers: res.headers, statusCode: res.statusCode, body: responsebody});
});

@@ -224,3 +224,3 @@

callback(null, {headers: res.headers, body: responsebody});
callback(null, {headers: res.headers, statusCode: res.statusCode, body: responsebody});
});

@@ -227,0 +227,0 @@

{
"name": "httpreq",
"description": "node-httpreq is a node.js library to do HTTP(S) requests the easy way",
"version": "0.2.3",
"version": "0.2.4",
"author": {

@@ -6,0 +6,0 @@ "name": "Sam Decrock",

@@ -35,3 +35,3 @@ node-httpreq

- body: custom body content you want to send
- callback(err, res): A callback function which is called when the request is complete. __res__ contains the headers ( __res.headers__ ) and the body ( __res.body__ )
- callback(err, res): A callback function which is called when the request is complete. __res__ contains the headers ( __res.headers__ ), the http status code ( __res.statusCode__ ) and the body ( __res.body__ )

@@ -90,3 +90,3 @@ __Example without options__

- body: custom body content you want to send. Parameters are ignored when this is used.
- callback(err, res): A callback function which is called when the request is complete. __res__ contains the headers ( __res.headers__ ) and the body ( __res.body__ )
- callback(err, res): A callback function which is called when the request is complete. __res__ contains the headers ( __res.headers__ ), the http status code ( __res.statusCode__ ) and the body ( __res.body__ )

@@ -149,3 +149,3 @@ __Example without extra options__

- binary: true/false (default: false), if true, res.body will a buffer containing the binary data
- callback(err, res): A callback function which is called when the request is complete. __res__ contains the headers ( __res.headers__ ) and the body ( __res.body__ )
- callback(err, res): A callback function which is called when the request is complete. __res__ contains the headers ( __res.headers__ ), the http status code ( __res.statusCode__ ) and the body ( __res.body__ )

@@ -187,3 +187,3 @@ ```js

- body: custom body content you want to send
- callback(err, res): A callback function which is called when the request is complete. __res__ contains the headers ( __res.headers__ ) and the body ( __res.body__ )
- callback(err, res): A callback function which is called when the request is complete. __res__ contains the headers ( __res.headers__ ), the http status code ( __res.statusCode__ ) and the body ( __res.body__ )

@@ -190,0 +190,0 @@ __Example__

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc