mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix 100-Continue. spotted by MattCampbell on irc.
This commit is contained in:
parent
68d1542c20
commit
7f0b689851
@ -69,7 +69,7 @@ class Request(object):
|
|||||||
self.log.debug("Headers:\n%s" % headers)
|
self.log.debug("Headers:\n%s" % headers)
|
||||||
|
|
||||||
if self.parser.headers_dict.get('Expect','').lower() == "100-continue":
|
if self.parser.headers_dict.get('Expect','').lower() == "100-continue":
|
||||||
self.socket.send("100 Continue\n")
|
self.socket.send("HTTP/1.1 100 Continue\r\n\r\n")
|
||||||
|
|
||||||
if not self.parser.content_len and not self.parser.is_chunked:
|
if not self.parser.content_len and not self.parser.is_chunked:
|
||||||
wsgi_input = StringIO.StringIO()
|
wsgi_input = StringIO.StringIO()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user