summaryrefslogtreecommitdiff
path: root/test/libapt/compareversion_test.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-07-01 19:14:03 +0200
committerJulian Andres Klode <jak@debian.org>2017-07-02 04:25:09 +0200
commit9f85bf8883e3c65a461abff2a0a40d01f8a1c95a (patch)
treee9f3204126c4a2fbd98627c89e3b31cf2176e883 /test/libapt/compareversion_test.cc
parenta65d028ed50156959a16a2547853d9c427332a41 (diff)
http: A response with Content-Length: 0 has no content
APT considered any response with a Content-Length to have a body, even if the value of the header was 0. A 0 length body however, is equal to no body. (cherry picked from commit d47fb34ae03566feec7fec6dccba80e45fa03e6f)
Diffstat (limited to 'test/libapt/compareversion_test.cc')
0 files changed, 0 insertions, 0 deletions