Commit 3f3dfc15 authored by Iustin Pop's avatar Iustin Pop
Browse files

cleanup: http server, line too long

Reviewed-by: amishchenko
parent 5a9c3f46
......@@ -130,9 +130,11 @@ class _HttpServerToClientMessageWriter(http.HttpMessageWriter):
# message-body, [...]"
return (http.HttpMessageWriter.HasMessageBody(self) and
(request_method is not None and request_method != http.HTTP_HEAD) and
(request_method is not None and
request_method != http.HTTP_HEAD) and
response_code >= http.HTTP_OK and
response_code not in (http.HTTP_NO_CONTENT, http.HTTP_NOT_MODIFIED))
response_code not in (http.HTTP_NO_CONTENT,
http.HTTP_NOT_MODIFIED))
class _HttpClientToServerMessageReader(http.HttpMessageReader):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment