middleware fails when the request has more than 1 values for accept-encoding header
rishisharma08 opened this issue · comments
rishisharma08 commented
i have something like this to pass multiple headers
request.setHeader('accept-encoding', ['something', 'gzip']);
this is valid in nodejs. but get an error form compression:
"message":"accept.split is not a function"
Douglas Wilson commented
Hi @rishisharma08 thanks for the report. I cannot seem to replicate the issue. Can you provide more specific instructions on how, exactly, to reproduce the error? Or maybe the entire stack trace for the error?
Jon Church commented
Closing as no reproduction