lukeed/polka

send-type ignores custom headers when passed a stream

Closed this issue · 0 comments

aral commented

When you call send() from the send-type package with custom headers (e.g., content-disposition to set inline vs attachment + filename, etc.) and a stream (function), the headers are ignored and only the type header is set.