Comparing version 3.2.1-rc1 to 3.2.1-rc2
@@ -189,8 +189,3 @@ const http = require('http'); | ||
if(ctx.settings.auth){ | ||
const headers = {} | ||
// for(const h of ctx.options.headers) | ||
// headers[h.toLowerCase()] = ctx.options.headers[h]; | ||
// delete headers['content-length']; | ||
// delete headers['content-type']; | ||
// delete headers['content-encoding']; | ||
const headers = { ...ctx.options.headers }; | ||
const challengeReq = ctx.client.request({ ...ctx.options, headers }); | ||
@@ -197,0 +192,0 @@ challengeReq.removeHeader('content-length'); |
{ | ||
"name": "muhb", | ||
"version": "3.2.1-rc1", | ||
"version": "3.2.1-rc2", | ||
"description": "A set of functions for coding easy to read HTTP requests.", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.js", |
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
56182
1052