Revision 3f3dfc15

b/lib/http/server.py
130 130
    # message-body, [...]"
131 131

  
132 132
    return (http.HttpMessageWriter.HasMessageBody(self) and
133
            (request_method is not None and request_method != http.HTTP_HEAD) and
133
            (request_method is not None and
134
             request_method != http.HTTP_HEAD) and
134 135
            response_code >= http.HTTP_OK and
135
            response_code not in (http.HTTP_NO_CONTENT, http.HTTP_NOT_MODIFIED))
136
            response_code not in (http.HTTP_NO_CONTENT,
137
                                  http.HTTP_NOT_MODIFIED))
136 138

  
137 139

  
138 140
class _HttpClientToServerMessageReader(http.HttpMessageReader):

Also available in: Unified diff