summaryrefslogtreecommitdiff
path: root/methods/http.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-09-13 18:21:31 +0200
commitdd547ebaffd2aceb42e2908f1d5f0ab386af6cb1 (patch)
tree7628bfb1b9e86018a37d21ef5cfc1a323780cf06 /methods/http.cc
parent6636ec6d45a2da21faf2c004faba346056a52039 (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 'methods/http.cc')
0 files changed, 0 insertions, 0 deletions