Merge pull request #350 from Unrud/patch-5

Repair "head" request
This commit is contained in:
Guillaume Ayoub 2016-01-15 00:00:33 +01:00
commit 9bc8635bdf

View File

@ -453,7 +453,7 @@ class Application(object):
def do_HEAD(self, environ, read_collections, write_collections, content,
user):
"""Manage HEAD request."""
status, headers, answer = self.get(
status, headers, answer = self.do_GET(
environ, read_collections, write_collections, content, user)
return status, headers, None