##// END OF EJS Templates
hgweb: discard Content-Type header for 304 responses (issue5844)...
hgweb: discard Content-Type header for 304 responses (issue5844) A side-effect of 98baf8dea553 was that hgwebdir always sets a global default for the Content-Type header. HTTP 304 responses don't allow the Content-Type header. So a side-effect of this change was that HTTP 304 responses served via hgwebdir resulted in a ProgrammingError being raised. This commit teaches our 304 response issuing code to drop the Content-Type header. Differential Revision: https://phab.mercurial-scm.org/D3435
Gregory Szorc -
r37846:11ee9bf2 stable
Show More
Name Size Modified Last Commit Author
/ contrib / python-zstandard / c-ext
bufferutil.c Loading ...
compressiondict.c Loading ...
compressionparams.c Loading ...
compressionreader.c Loading ...
compressionwriter.c Loading ...
compressobj.c Loading ...
compressor.c Loading ...
compressoriterator.c Loading ...
constants.c Loading ...
decompressionreader.c Loading ...
decompressionwriter.c Loading ...
decompressobj.c Loading ...
decompressor.c Loading ...
decompressoriterator.c Loading ...
frameparams.c Loading ...
python-zstandard.h Loading ...