summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/fileserver/testdata
diff options
context:
space:
mode:
authorSteffen Brüheim <ueffel@gmail.com>2021-08-31 21:36:36 +0200
committerGitHub <noreply@github.com>2021-08-31 13:36:36 -0600
commit4ebf100f099021bbec7eaa5284fe18f5f72feeb4 (patch)
tree6795ce7f54c0c30d641776998b8ee9a63f542011 /modules/caddyhttp/fileserver/testdata
parentf43fd6f3884d957afc391da3ca689a43ba27eccb (diff)
encode: ignore flushing until after first write (#4318)
* encode: ignore flushing until after first write (fix #4314) The first write will determine if encoding has to be done and will add an Content-Encoding. Until then Flushing has to be delayed so the Content-Encoding header can be added before headers and status code is written. (A passthrough flush would write header and status code) * Update modules/caddyhttp/encode/encode.go Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
Diffstat (limited to 'modules/caddyhttp/fileserver/testdata')
0 files changed, 0 insertions, 0 deletions