Clarify handling of HEAD request
This commit is contained in:
parent
685a91bfe6
commit
555e4ccc51
@ -27,4 +27,5 @@ class ApplicationPartHead(ApplicationPartGet, ApplicationBase):
|
|||||||
def do_HEAD(self, environ: types.WSGIEnviron, base_prefix: str, path: str,
|
def do_HEAD(self, environ: types.WSGIEnviron, base_prefix: str, path: str,
|
||||||
user: str) -> types.WSGIResponse:
|
user: str) -> types.WSGIResponse:
|
||||||
"""Manage HEAD request."""
|
"""Manage HEAD request."""
|
||||||
|
# Body is dropped in `Application._handle_request` for HEAD requests
|
||||||
return self.do_GET(environ, base_prefix, path, user)
|
return self.do_GET(environ, base_prefix, path, user)
|
||||||
|
Loading…
Reference in New Issue
Block a user