adding insecure HTTP parser

This commit is contained in:
Martin McKeaveney 2022-09-12 09:27:16 +01:00
parent 2c50eb2df1
commit 5c07c17cdd
1 changed files with 3 additions and 0 deletions

View File

@ -233,6 +233,9 @@ module RestModule {
pagination: PaginationConfig | null,
paginationValues: PaginationValues | null
) {
// https://github.com/nodejs/node/issues/43798
input.extraHttpOptions = { insecureHTTPParser: true }
if (!input.headers) {
input.headers = {}
}