postman-runtime 7.43.4 → 7.44.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -407,6 +407,7 @@ module.exports = {
407
407
  * @param defaultOpts.implicitTraceHeader
408
408
  * @param defaultOpts.removeRefererHeaderOnRedirect
409
409
  * @param defaultOpts.timings
410
+ * @param defaultOpts.maxHeaderSize
410
411
  * @param protocolProfileBehavior
411
412
  * @returns {{}}
412
413
  */
@@ -419,6 +420,7 @@ module.exports = {
419
420
  self = this,
420
421
  bodyParams,
421
422
  useWhatWGUrlParser = defaultOpts.useWhatWGUrlParser,
423
+ maxHeaderSize = defaultOpts.maxHeaderSize,
422
424
  disableUrlEncoding = protocolProfileBehavior.disableUrlEncoding,
423
425
  disabledSystemHeaders = protocolProfileBehavior.disabledSystemHeaders || {},
424
426
  // the system headers provided in requester configuration
@@ -457,6 +459,7 @@ module.exports = {
457
459
  options.extraCA = defaultOpts.extendedRootCA;
458
460
  options.ignoreProxyEnvironmentVariables = defaultOpts.ignoreProxyEnvironmentVariables;
459
461
  options.agentIdleTimeout = defaultOpts.agentIdleTimeout;
462
+ options.maxHeaderSize = maxHeaderSize;
460
463
 
461
464
  // Disable encoding of URL in postman-request in order to use pre-encoded URL object returned from
462
465
  // toNodeUrl() function of postman-url-encoder
@@ -37,7 +37,8 @@ RequesterPool = function (options, callback) {
37
37
  systemHeaders: _.get(options, 'requester.systemHeaders', {}),
38
38
  removeRefererHeaderOnRedirect: _.get(options, 'requester.removeRefererHeaderOnRedirect'),
39
39
  ignoreProxyEnvironmentVariables: _.get(options, 'ignoreProxyEnvironmentVariables'),
40
- network: _.get(options, 'network', {})
40
+ network: _.get(options, 'network', {}),
41
+ maxHeaderSize: _.get(options, 'requester.maxHeaderSize', 131072) // 128KB
41
42
  });
42
43
 
43
44
  // create a cookie jar if one is not provided
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-runtime",
3
- "version": "7.43.4",
3
+ "version": "7.44.1",
4
4
  "description": "Underlying library of executing Postman Collections",
5
5
  "author": "Postman Inc.",
6
6
  "license": "Apache-2.0",
@@ -56,7 +56,7 @@
56
56
  "performance-now": "2.1.0",
57
57
  "postman-collection": "5.0.2",
58
58
  "postman-request": "2.88.1-postman.42",
59
- "postman-sandbox": "6.1.1",
59
+ "postman-sandbox": "6.1.2",
60
60
  "postman-url-encoder": "3.0.7",
61
61
  "serialised-error": "1.1.3",
62
62
  "strip-json-comments": "3.1.1",