Fix dangling comma in arguments list for HTTPResponse in response.empty() (#1761)
* Fix dangling comma arguments list for HTTPResponse in response.empty() * Found another black error, including another dangling comma
This commit is contained in:
parent
865536c5c4
commit
caa1b4d69b
|
@ -192,16 +192,14 @@ class HTTPResponse(BaseHTTPResponse):
|
|||
return self._cookies
|
||||
|
||||
|
||||
def empty(
|
||||
status=204, headers=None,
|
||||
):
|
||||
def empty(status=204, headers=None):
|
||||
"""
|
||||
Returns an empty response to the client.
|
||||
|
||||
:param status Response code.
|
||||
:param headers Custom Headers.
|
||||
"""
|
||||
return HTTPResponse(body_bytes=b"", status=status, headers=headers,)
|
||||
return HTTPResponse(body_bytes=b"", status=status, headers=headers)
|
||||
|
||||
|
||||
def json(
|
||||
|
|
Loading…
Reference in New Issue
Block a user