Socket
Socket
Sign inDemoInstall

httpreq

Package Overview
Dependencies
0
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.5 to 0.2.6

11

httpreq.js

@@ -162,7 +162,12 @@ /*

var port = 80;
if(reqUrl.protocol == 'https:')
var port;
if(reqUrl.port){
port = reqUrl.port;
}else if(reqUrl.protocol == 'https:'){
port = 443;
}else{
port = 80;
}
var crlf = "\r\n";

@@ -169,0 +174,0 @@ var boundary = '---------------------------10102754414578508781458777923';

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

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

@@ -18,3 +18,3 @@ node-httpreq

* [httpreq.post(url, [options], callback)](#post)
* [httpreq.uploadFile(options, callback)](#upload)
* [httpreq.uploadFiles(options, callback)](#upload)
* [httpreq.doRequest(options, callback)](#dorequest)

@@ -140,3 +140,3 @@ * [Downloading a binary file](#binary)

<a name="upload" />
### httpreq.uploadFile(options, callback)
### httpreq.uploadFiles(options, callback)

@@ -156,3 +156,3 @@ __Arguments__

httpreq.uploadFile({
httpreq.uploadFiles({
url: "http://rekognition.com/demo/do_upload/",

@@ -159,0 +159,0 @@ parameters:{

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