urllib 3.23.0 → 3.24.0

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.
@@ -68,7 +68,7 @@ class BlobFromStream {
68
68
  return 'Blob';
69
69
  }
70
70
  }
71
- exports.HEADER_USER_AGENT = (0, default_user_agent_1.default)('node-urllib', '3.23.0');
71
+ exports.HEADER_USER_AGENT = (0, default_user_agent_1.default)('node-urllib', '3.24.0');
72
72
  function getFileName(stream) {
73
73
  const filePath = stream.path;
74
74
  if (filePath) {
@@ -579,6 +579,7 @@ class HttpClient extends node_events_1.EventEmitter {
579
579
  return await this.#requestInternal(url, options, requestContext);
580
580
  }
581
581
  }
582
+ debug('Request#%d got response, status: %s, headers: %j, timing: %j', requestId, res.status, res.headers, res.timing);
582
583
  channels.response.publish({
583
584
  request: reqMeta,
584
585
  response: res,
@@ -62,7 +62,7 @@ class BlobFromStream {
62
62
  return 'Blob';
63
63
  }
64
64
  }
65
- export const HEADER_USER_AGENT = createUserAgent('node-urllib', '3.23.0');
65
+ export const HEADER_USER_AGENT = createUserAgent('node-urllib', '3.24.0');
66
66
  function getFileName(stream) {
67
67
  const filePath = stream.path;
68
68
  if (filePath) {
@@ -573,6 +573,7 @@ export class HttpClient extends EventEmitter {
573
573
  return await this.#requestInternal(url, options, requestContext);
574
574
  }
575
575
  }
576
+ debug('Request#%d got response, status: %s, headers: %j, timing: %j', requestId, res.status, res.headers, res.timing);
576
577
  channels.response.publish({
577
578
  request: reqMeta,
578
579
  response: res,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "urllib",
3
- "version": "3.23.0",
3
+ "version": "3.24.0",
4
4
  "publishConfig": {
5
5
  "tag": "latest"
6
6
  },
package/src/HttpClient.ts CHANGED
@@ -667,6 +667,8 @@ export class HttpClient extends EventEmitter {
667
667
  }
668
668
  }
669
669
 
670
+ debug('Request#%d got response, status: %s, headers: %j, timing: %j',
671
+ requestId, res.status, res.headers, res.timing);
670
672
  channels.response.publish({
671
673
  request: reqMeta,
672
674
  response: res,