]> git.ipfire.org Git - thirdparty/pdns.git/commit
web: Fix HEAD body and Content-Length 1633/head
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Fri, 25 Jul 2014 14:02:35 +0000 (16:02 +0200)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Fri, 25 Jul 2014 14:03:50 +0000 (16:03 +0200)
commitac9908c20c0afbeee396a989bf2248ef96a109d0
treece33571adcafc0d1c4a9e21ebbe6a36d4f024ee0
parentcd93d378c09dbad905b73e371b5fe100e568b8f1
web: Fix HEAD body and Content-Length

For HEAD requests, we MUST throw away the body, for all other
requests we SHOULD return a Content-Length.
pdns/webserver.cc