adding insecure HTTP parser
This commit is contained in:
parent
7d05a19dae
commit
6983d94d90
1 changed files with 3 additions and 0 deletions
|
@ -233,6 +233,9 @@ module RestModule {
|
||||||
pagination: PaginationConfig | null,
|
pagination: PaginationConfig | null,
|
||||||
paginationValues: PaginationValues | null
|
paginationValues: PaginationValues | null
|
||||||
) {
|
) {
|
||||||
|
// https://github.com/nodejs/node/issues/43798
|
||||||
|
input.extraHttpOptions = { insecureHTTPParser: true }
|
||||||
|
|
||||||
if (!input.headers) {
|
if (!input.headers) {
|
||||||
input.headers = {}
|
input.headers = {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue