Content-Length and Transfer-Encoding conflict according to the HTTP
spec. This fixes bug 981332.
This also adds the ability to test both the sendfile-present and
sendfile-absent codepaths; the sendfile-present test will be skipped on
sendfile-absent platforms.
[ This is backported from 223fbee49a55691504623fa691bbb3e48048d5f3 ]
Reviewed: https:/ /review. openstack. org/6776 github. com/openstack/ glance/ commit/ 7a9e3a7dc53a209 71dbd653f206133 7efec136a2
Committed: http://
Submitter: Jenkins
Branch: stable/essex
commit 7a9e3a7dc53a209 71dbd653f206133 7efec136a2
Author: Mike Lundy <email address hidden>
Date: Fri Apr 13 19:53:16 2012 -0700
Omit Content-Length on chunked transfer
Content-Length and Transfer-Encoding conflict according to the HTTP
spec. This fixes bug 981332.
This also adds the ability to test both the sendfile-present and
sendfile-absent codepaths; the sendfile-present test will be skipped on
sendfile-absent platforms.
[ This is backported from 223fbee49a55691 504623fa691bbb3 e48048d5f3 ]
Change-Id: I20856eb51ff66f e4b7145f796a540 a832c3aa4d8