urllib 2.36.0 → 2.36.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.
package/History.md CHANGED
@@ -1,4 +1,10 @@
1
1
 
2
+ 2.36.1 / 2020-06-09
3
+ ==================
4
+
5
+ **others**
6
+ * [[`35eecc0`](http://github.com/node-modules/urllib/commit/35eecc021f55e324b2520f91a032a33517d94f29)] - chore: add type declaration for RequestOptions#keepHeaderCase (#345) (William <<willizm.cn@gmail.com>>)
7
+
2
8
  2.36.0 / 2020-06-08
3
9
  ==================
4
10
 
package/lib/index.d.ts CHANGED
@@ -54,6 +54,8 @@ export interface RequestOptions {
54
54
  fixJSONCtlChars?: boolean;
55
55
  /** Request headers. */
56
56
  headers?: IncomingHttpHeaders;
57
+ /** by default will convert header keys to lowercase */
58
+ keepHeaderCase?: boolean;
57
59
  /**
58
60
  * Request timeout in milliseconds for connecting phase and response receiving phase.
59
61
  * Defaults to exports.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "urllib",
3
- "version": "2.36.0",
3
+ "version": "2.36.1",
4
4
  "description": "Help in opening URLs (mostly HTTP) in a complex world — basic and digest authentication, redirections, cookies and more.",
5
5
  "keywords": [
6
6
  "urllib",