Comparing version 0.1.1 to 0.1.4
@@ -199,2 +199,3 @@ /** | ||
: mime.lookup(type)); | ||
return $this; | ||
}, | ||
@@ -732,3 +733,3 @@ | ||
'followRedirect', 'followAllRedirects', 'maxRedirects', 'encoding', 'pool', 'timeout', 'proxy', 'oauth', 'hawk', | ||
'ssl:strictSSL', 'strictSSL', 'jar', 'cookies:jar', 'aws', 'httpSignature', 'localAddress', 'ip:localAddress' | ||
'ssl:strictSSL', 'strictSSL', 'jar', 'cookies:jar', 'aws', 'httpSignature', 'localAddress', 'ip:localAddress', 'secureProtocol' | ||
] | ||
@@ -807,2 +808,2 @@ }; | ||
module.exports = exports = Unirest; | ||
module.exports = exports = Unirest; |
{ | ||
"name": "unirest", | ||
"version": "0.1.1", | ||
"version": "0.1.4", | ||
"description": "Lightweight HTTP Request library.", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"mime": "~1.2.11", | ||
"request": "~2.27.0", | ||
"request": "~2.33.0", | ||
"should": "~2.0.1" | ||
@@ -14,0 +14,0 @@ }, |
@@ -375,2 +375,3 @@ # Unirest for Node.js [![Build Status](https://travis-ci.org/Mashape/unirest-nodejs.png?branch=master)](https://travis-ci.org/Mashape/unirest-nodejs) | ||
* `strictSSL` (`Boolean`) - Default `true`; See `Request.strictSSL()` below. | ||
* `secureProtocol` (`String`) - See `Request.secureProtocol()` below. | ||
* `jar` (`Boolean` | `Jar`) - See `Request.jar()` below. | ||
@@ -484,2 +485,14 @@ * `aws` (`Object`) - See `Request.aws()` below. | ||
#### Request.secureProtocol(String) | ||
Sets the secure protocol to use: | ||
```js | ||
Request.secureProtocol('SSLv2_method'); | ||
// or | ||
Request.secureProtocol('SSLv3_client_method'); | ||
``` | ||
See [openssl.org](https://www.openssl.org/docs/ssl/SSL_CTX_new.html) for all possible values. | ||
#### Request.aws(Object) | ||
@@ -486,0 +499,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46217
777
669
+ Addedaws-sign2@0.5.0(transitive)
+ Addedrequest@2.33.0(transitive)
+ Addedtldts@6.1.61(transitive)
+ Addedtldts-core@6.1.61(transitive)
+ Addedtough-cookie@5.0.0(transitive)
- Removedaws-sign@0.3.0(transitive)
- Removedcookie-jar@0.3.0(transitive)
- Removedrequest@2.27.0(transitive)
Updatedrequest@~2.33.0