@netlify/functions
Advanced tools
Comparing version 0.7.3-streaming.5 to 0.7.3-streaming.6
@@ -5,3 +5,3 @@ { | ||
"types": "./src/main.d.ts", | ||
"version": "0.7.3-streaming.5", | ||
"version": "0.7.3-streaming.6", | ||
"description": "JavaScript utilities for Netlify Functions", | ||
@@ -8,0 +8,0 @@ "files": [ |
@@ -20,3 +20,4 @@ /* eslint-disable no-underscore-dangle , promise/prefer-await-to-callbacks, */ | ||
const parsedUrl = new URL(url) | ||
this.outgoingMessage = parsedUrl.protocol === 'https:' ? https.request(url) : http.request(url) | ||
this.outgoingMessage = | ||
parsedUrl.protocol === 'https:' ? https.request(url, { method: 'POST' }) : http.request(url, { method: 'POST' }) | ||
this.outgoingMessage.setHeader('x-nf-metadata-boundary', this.METADATA_BOUNDARY) | ||
@@ -23,0 +24,0 @@ this.pipe(this.outgoingMessage) |
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
14188
273