Question about send behaviour #355
Replies: 1 comment 3 replies
-
not sure what you mean by it being unwriteable, given that you should be able to just wrap in a Lines 243 to 246 in 4de406a
yes to the first, no to the second: Line 195 in 4de406a Lines 316 to 319 in 4de406a
the index parameter is a default filename to serve for directories, usually Lines 234 to 236 in 4de406a |
Beta Was this translation helpful? Give feedback.
-
I have a few questions about the behaviour of
send
.What happens when
send
fails in various ways? Will the response object remain unwritable?Does
send
resolve..
segments in paths? If so, will it ever backtrack beyond the root?Does
send
recognize trailing slashes and instead serve the index of the directory, or is theindex
parameter only for the root?Beta Was this translation helpful? Give feedback.
All reactions