Commit b456ae14 authored by 陈小玉's avatar 陈小玉

Update pywsig.py, support GET can require Body

parent 293ddd28
......@@ -247,7 +247,7 @@ class WSGIHandler(object):
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
......
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