Skip to content

Commit

Permalink
Update pywsig.py, support GET can require Body
Browse files Browse the repository at this point in the history
  • Loading branch information
smallfish committed Apr 1, 2013
1 parent 293ddd2 commit b456ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gevent/pywsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def read_request(self, raw_requestline):
if content_length < 0:
self.log_error('Invalid Content-Length: %r', content_length)
return
if content_length and self.command in ('GET', 'HEAD'):
if content_length and self.command in ('HEAD', ):
self.log_error('Unexpected Content-Length')
return

Expand Down

0 comments on commit b456ae1

Please sign in to comment.