Fix for polyfill modules

This commit is contained in:
2023-05-19 19:38:26 -04:00
parent 6a61ead27a
commit 8f17b19cda
4 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import * as https from "https";
const methods = ["get", "put", "post", "delete"];
const methods = ["get", "put", "post", "delete", "head"];
const redirectCodes = new Set([301, 302, 307, 308]);
const headersToClone = ["statusCode", "statusMessage", "url", "headers", "method", "aborted", "complete", "rawHeaders", "end"];