changeset 11378 | 5b8aec0609f0 |
parent 11361 | 8cb2a64b15da |
child 11379 | 6b687210975b |
11377:ad3b5384fc03 | 11378:5b8aec0609f0 |
---|---|
231 if not fh then |
231 if not fh then |
232 return err; |
232 return err; |
233 end |
233 end |
234 request.body_sink = fh; |
234 request.body_sink = fh; |
235 if request.body == false then |
235 if request.body == false then |
236 if request.headers.expect == "100-continue" then |
|
237 request.conn:write("HTTP/1.1 100 Continue\r\n\r\n"); |
|
238 end |
|
236 return true; |
239 return true; |
237 end |
240 end |
238 end |
241 end |
239 |
242 |
240 if request.body then |
243 if request.body then |