http2-wrapper
Advanced tools
Comparing version 1.0.0-beta.2 to 1.0.0-beta.3
{ | ||
"name": "http2-wrapper", | ||
"version": "1.0.0-beta.2", | ||
"version": "1.0.0-beta.3", | ||
"description": "HTTP2 client, just with the familiar `https` API", | ||
@@ -5,0 +5,0 @@ "main": "source", |
@@ -64,13 +64,9 @@ 'use strict'; | ||
if (protocol === 'http/1.1') { | ||
if (options.agent && options.agent.https) { | ||
options.agent = options.agent.https; | ||
} | ||
if (options.agent && options.agent.https) { | ||
options.agent = options.agent.https; | ||
} | ||
options._defaultAgent = https.globalAgent; | ||
options._defaultAgent = https.globalAgent; | ||
return http.request(options, callback); | ||
} | ||
throw new Error('Unknown ALPN protocol'); | ||
return http.request(options, callback); | ||
} | ||
@@ -77,0 +73,0 @@ |
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
46053
1003