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:
Ashley Sommer 2020-01-11 13:58:01 +10:00 committed by 7
parent 865536c5c4
commit caa1b4d69b

View File

@ -192,16 +192,14 @@ class HTTPResponse(BaseHTTPResponse):
return self._cookies return self._cookies
def empty( def empty(status=204, headers=None):
status=204, headers=None,
):
""" """
Returns an empty response to the client. Returns an empty response to the client.
:param status Response code. :param status Response code.
:param headers Custom Headers. :param headers Custom Headers.
""" """
return HTTPResponse(body_bytes=b"", status=status, headers=headers,) return HTTPResponse(body_bytes=b"", status=status, headers=headers)
def json( def json(