diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-10-26 09:14:12 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-10-26 09:14:12 +0000 |
commit | c1ccfe15831a6e61e0e8e36a41ce8d8e6796153c (patch) | |
tree | 800565f0427a3d9339e47f34c374de343bf352e8 /src/tipideed | |
parent | 1e281512e672fe832317a57cb05df0c965db6d13 (diff) | |
download | tipidee-c1ccfe15831a6e61e0e8e36a41ce8d8e6796153c.tar.xz |
Some bugfixes, more to come
Thanks jjk for the bug-reports!
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/tipideed')
-rw-r--r-- | src/tipideed/cgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tipideed/cgi.c b/src/tipideed/cgi.c index be969c8..037076d 100644 --- a/src/tipideed/cgi.c +++ b/src/tipideed/cgi.c @@ -309,7 +309,7 @@ static inline int process_cgi_output (tipidee_rql *rql, char const *docroot, tip else { if (!status) status = 200 ; - if (!tipidee_headers_search(hdr, "Content-Type")) + if (status != 304 && !tipidee_headers_search(hdr, "Content-Type")) die502x(rql, 2, docroot, "cgi ", cginame, " didn't output a ", "Content-Type", " header") ; } x = tipidee_headers_search(hdr, "Content-Length") ; |