adding insecure HTTP parser
This commit is contained in:
parent
2c50eb2df1
commit
5c07c17cdd
|
@ -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 New Issue