Not sure how this got introduced (which really annoys me)
but here's the fix to make sure the content-length /
transfer-encoding headers are set properly. Specifically,
the proxy was sometimes returning transfer-encoding: chunked
with no content-length on 204 No Content responses where it
used to return content-length: 0 and no transfer-encoding
header at all.
Reviewed: https:/ /review. openstack. org/8151 github. com/openstack/ swift/commit/ 229b2b9d8db76df 69d7a2f272520b5 be54c07134
Committed: http://
Submitter: Jenkins
Branch: milestone-proposed
commit 229b2b9d8db76df 69d7a2f272520b5 be54c07134
Author: gholt <email address hidden>
Date: Thu May 31 22:58:56 2012 +0000
Fixed bug where 204 would sometimes be chunked
Not sure how this got introduced (which really annoys me) encoding headers are set properly. Specifically,
but here's the fix to make sure the content-length /
transfer-
the proxy was sometimes returning transfer-encoding: chunked
with no content-length on 204 No Content responses where it
used to return content-length: 0 and no transfer-encoding
header at all.
Fixes LP#1008716
Change-Id: I0927d102bc5e43 24e38dbbb44be90 33a6cd8ee20