Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-ganeti
Commits
3f3dfc15
Commit
3f3dfc15
authored
Dec 14, 2008
by
Iustin Pop
Browse files
cleanup: http server, line too long
Reviewed-by: amishchenko
parent
5a9c3f46
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/http/server.py
View file @
3f3dfc15
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment