changeset 11378 | 5b8aec0609f0 |
parent 11361 | 8cb2a64b15da |
child 11379 | 6b687210975b |
--- a/plugins/mod_http_file_share.lua Sat Feb 13 13:38:56 2021 +0100 +++ b/plugins/mod_http_file_share.lua Sat Feb 13 14:06:46 2021 +0100 @@ -233,6 +233,9 @@ end request.body_sink = fh; if request.body == false then + if request.headers.expect == "100-continue" then + request.conn:write("HTTP/1.1 100 Continue\r\n\r\n"); + end return true; end end