This commit is contained in:
Brahim Hadriche committed 2023-10-03 20:41:07 -04:00
1 parent a9d7de971b
commit 518409cb3f
1 file changed
+1
@@ -141,6 +141,7 @@ namespace Http
if m.headers["Content-Length"] = invalid
m.ready_for_response = true
if m.body.len() > 0
' TODO:P2 send a "411 Length Required" response
LogError("invalid request: request body found, but no Content-Length header")
return false
else