You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
Right now, only the res.set() way of setting the content-type of a StreamableFile is documented (here).
Expected behavior
Document the type (and, ideally, disposition) properties of StreamableFileOptions. Maybe even remove the res.set() example, leaving only the purely StreamableFile-based way
Minimal reproduction of the problem with instructions
N/A
What is the motivation / use case for changing the behavior?
Using the response object with a StreamableFile return is a potential bug source (too easy to forget the passthrough: true). Using the response object seems un-Nest-like when there's a way to do it using the returned object.
Environment
N/A
The text was updated successfully, but these errors were encountered:
iliazeus
changed the title
Document the type and disposition options of StreamableFle
Document the type and disposition options of StreamableFileJan 15, 2024
I'm submitting a...
Current behavior
Right now, only the
res.set()
way of setting the content-type of aStreamableFile
is documented (here).Expected behavior
Document the
type
(and, ideally,disposition
) properties ofStreamableFileOptions
. Maybe even remove theres.set()
example, leaving only the purelyStreamableFile
-based wayMinimal reproduction of the problem with instructions
N/A
What is the motivation / use case for changing the behavior?
Using the response object with a
StreamableFile
return is a potential bug source (too easy to forget thepassthrough: true
). Using the response object seems un-Nest-like when there's a way to do it using the returned object.Environment
N/A
The text was updated successfully, but these errors were encountered: