diff options
author | Kim Alvefur <zash@zash.se> | 2023-09-22 01:47:21 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-09-22 01:47:21 +0200 |
commit | e1128dbdbca14e1884b2eeb5eda235736a5b1d3e (patch) | |
tree | 9744904857cc95de79764b8be53eddd4143366e9 /teal-src/prosody/net/http/files.d.tl | |
parent | df4bde023ba33f3a84538aa5cd10a0e1bda64990 (diff) | |
download | prosody-e1128dbdbca14e1884b2eeb5eda235736a5b1d3e.tar.gz prosody-e1128dbdbca14e1884b2eeb5eda235736a5b1d3e.zip |
net.http.server: Support setting Content-Type of uncaught HTTP errors
mod_http_errors normally sets the Content-Type header via the response
object, which isn't available when handling these uncaught errors.
Without a Content-Type header the browser is forced to guess, which may
or may not result in something sensible.
Diffstat (limited to 'teal-src/prosody/net/http/files.d.tl')
0 files changed, 0 insertions, 0 deletions