[PATCH] Do not send a zero Content-Length for 204 and 304

Federico Schwindt fgsch at lodoss.net
Sun Jan 3 20:21:04 CET 2016


Hi,

In the 304 case we were already skipping it for non-zero C-L.
For 204 responses this was introduced as a side effect of 271e1c52.

Comments? OK?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20160103/e0aae363/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Do-not-send-a-zero-Content-Length-for-204-and-304.patch
Type: text/x-diff
Size: 2673 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20160103/e0aae363/attachment.patch>


More information about the varnish-dev mailing list