Socket
Socket
Sign inDemoInstall

request

Package Overview
Dependencies
Maintainers
3
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

request - npm Package Compare versions

Comparing version 2.48.0 to 2.49.0

examples/README.md

8

CHANGELOG.md
## Change Log
### v2.49.0 (2014/11/28)
- [#1295](https://github.com/request/request/pull/1295) fix(proxy): no-proxy false positive (@oliamb)
- [#1292](https://github.com/request/request/pull/1292) Upgrade `caseless` to 0.8.1 (@mmalecki)
- [#1276](https://github.com/request/request/pull/1276) Set transfer encoding for multipart/related to chunked by default (@simov)
- [#1275](https://github.com/request/request/pull/1275) Fix multipart content-type headers detection (@simov)
- [#1269](https://github.com/request/request/pull/1269) adds streams example for review (@tbuchok)
- [#1238](https://github.com/request/request/pull/1238) Add examples README.md (@simov)
### v2.48.0 (2014/11/12)

@@ -4,0 +12,0 @@ - [#1263](https://github.com/request/request/pull/1263) Fixed a syntax error / typo in README.md (@xna2)

4

package.json

@@ -10,3 +10,3 @@ {

],
"version": "2.48.0",
"version": "2.49.0",
"author": "Mikeal Rogers <mikeal.rogers@gmail.com>",

@@ -27,3 +27,3 @@ "repository": {

"bl": "~0.9.0",
"caseless": "~0.7.0",
"caseless": "~0.8.0",
"forever-agent": "~0.5.0",

@@ -30,0 +30,0 @@ "form-data": "~0.1.0",

@@ -202,3 +202,4 @@ 'use strict'

noProxyItem = noProxyItem.replace(/^\.*/, '.')
if (hostname.indexOf(noProxyItem) === hostname.length - noProxyItem.length) {
var isMatchedAt = hostname.indexOf(noProxyItem)
if (isMatchedAt > -1 && isMatchedAt === hostname.length - noProxyItem.length) {
return null

@@ -1433,4 +1434,8 @@ }

if (chunked) {
self.setHeader('transfer-encoding', 'chunked')
}
var headerName = self.hasHeader('content-type')
if (!headerName || headerName.indexOf('multipart') === -1) {
if (!headerName || self.headers[headerName].indexOf('multipart') === -1) {
self.setHeader('content-type', 'multipart/related; boundary=' + self.boundary)

@@ -1437,0 +1442,0 @@ } else {

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