mirror of
https://github.com/Kozea/Radicale.git
synced 2025-07-02 16:58:30 +00:00
Set Content-Length for HEAD requests
This commit is contained in:
parent
a26dcf3188
commit
2a29ad6a17
3 changed files with 8 additions and 6 deletions
|
@ -27,5 +27,4 @@ class ApplicationPartHead(ApplicationPartGet, ApplicationBase):
|
|||
def do_HEAD(self, environ: types.WSGIEnviron, base_prefix: str, path: str,
|
||||
user: str) -> types.WSGIResponse:
|
||||
"""Manage HEAD request."""
|
||||
status, headers, _ = self.do_GET(environ, base_prefix, path, user)
|
||||
return status, headers, None
|
||||
return self.do_GET(environ, base_prefix, path, user)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue