Update http.lua

looks like it should be here
This commit is contained in:
_AMD_ 2023-11-13 15:14:20 +02:00 committed by GitHub
parent 453a5207ed
commit 9d07ed5066
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ local function receiveheaders(sock, headers)
-- unfold any folded values
while string.find(line, "^%s") do
value = value .. line
line = sock:receive()
line, err = sock:receive()
if err then return nil, err end
end
-- save pair in table