postman-request
Advanced tools
Comparing version 2.74.1-postman.1 to 2.74.1-postman.2
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "2.74.1-postman.1", | ||
"version": "2.74.1-postman.2", | ||
"repository": { | ||
@@ -29,3 +29,3 @@ "type": "git", | ||
"forever-agent": "~0.6.1", | ||
"form-data": "~1.0.0-rc4", | ||
"form-data": "~1.0.1", | ||
"har-validator": "~2.0.6", | ||
@@ -67,3 +67,3 @@ "hawk": "~3.1.3", | ||
"karma-phantomjs-launcher": "^1.0.0", | ||
"karma-tap": "^2.0.1", | ||
"karma-tap": "^3.0.1", | ||
"phantomjs-prebuilt": "^2.1.3", | ||
@@ -74,3 +74,10 @@ "rimraf": "^2.2.8", | ||
"taper": "^0.4.0" | ||
}, | ||
"greenkeeper": { | ||
"ignore": [ | ||
"eslint", | ||
"hawk", | ||
"har-validator" | ||
] | ||
} | ||
} |
@@ -806,3 +806,3 @@ | ||
- `time` - If `true`, the request-response cycle (including all redirects) is timed at millisecond resolution, and the result provided on the response's `elapsedTime` property. | ||
- `time` - If `true`, the request-response cycle (including all redirects) is timed at millisecond resolution, and the result provided on the response's `elapsedTime` property. The `responseStartTime` property is also available to indicate the timestamp when the response begins. | ||
- `har` - A [HAR 1.2 Request Object](http://www.softwareishard.com/blog/har-12-spec/#request), will be processed from HAR format into options overwriting matching values *(see the [HAR 1.2 section](#support-for-har-1.2) for details)* | ||
@@ -809,0 +809,0 @@ - `callback` - alternatively pass the request's callback in the options object |
@@ -25,2 +25,3 @@ 'use strict' | ||
, inflate = require('./lib/inflate') | ||
, urlParse = require('./lib/url-parse') | ||
, getProxyFromURI = require('./lib/getProxyFromURI') | ||
@@ -739,2 +740,7 @@ , Querystring = require('./lib/querystring').Querystring | ||
// Workaround for a bug in Node: https://github.com/nodejs/node/issues/8321 | ||
if (!self.proxy && !(self.uri.isUnix)) { | ||
extend(reqOptions, urlParse(self.uri.href)) | ||
} | ||
debug('make request', self.uri.href) | ||
@@ -964,2 +970,6 @@ | ||
responseContent.on('data', function (chunk) { | ||
if (self.timing && !self.responseStarted) { | ||
self.responseStartTime = (new Date()).getTime() | ||
response.responseStartTime = self.responseStartTime | ||
} | ||
self._destdata = true | ||
@@ -966,0 +976,0 @@ self.emit('data', chunk) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
235419
2544
Updatedform-data@~1.0.1