From aa6e63371697ca158bd9b1fe9e68ecbd59fbf72a Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sat, 20 Nov 2010 09:48:03 -0500 Subject: In FastCGI, signal 304 with a header, not the usual HTTP/1.1 line --- src/cjr_print.sml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cjr_print.sml') 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], -- cgit v1.2.3