diff options
author | Adam Chlipala <adam@chlipala.net> | 2010-11-20 09:48:03 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2010-11-20 09:48:03 -0500 |
commit | f21f9e29d19a8b241c1d6d790904001fdf384d59 (patch) | |
tree | 9fefe5208e41e51cc58656d1f08d1adf9f08c7a8 /src/cjr_print.sml | |
parent | 17707f8419d61ef9c9df14c9693226a1ca5a0526 (diff) |
In FastCGI, signal 304 with a header, not the usual HTTP/1.1 line
Diffstat (limited to 'src/cjr_print.sml')
-rw-r--r-- | src/cjr_print.sml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cjr_print.sml b/src/cjr_print.sml index 29f94fe6..e440a53d 100644 --- a/src/cjr_print.sml +++ b/src/cjr_print.sml @@ -2924,7 +2924,7 @@ fun p_file env (ds, ps) = newline, box [string "uw_clear_headers(ctx);", newline, - string "uw_write_header(ctx, \"HTTP/1.1 304 Not Modified\\r\\n\");", + string "uw_write_header(ctx, uw_supports_direct_status ? \"HTTP/1.1 304 Not Modified\\r\\n\" : \"Status: 304 Not Modified\\r\\n\");", newline, string "return;", newline], |