Replies: 1 comment
-
|
as long as you're using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I refactored my app to use in memory buffers instead of files. However an undesired side effect is that for all responses where we do
res.send(buf)without setting an explicitres.type()express now defaults to:I do not want this. Is there a workaround to use
res.send(buffer)without setting any content-type automatically?I know I can explicitly override it with
res.type("bla/bla")but for many resources there is not a known type. In these cases I want to set no content-type response header.I am using express 5.0.1.
Beta Was this translation helpful? Give feedback.
All reactions