Update http.lua
looks like it should be here
This commit is contained in:
parent
453a5207ed
commit
9d07ed5066
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ local function receiveheaders(sock, headers)
|
||||||
-- unfold any folded values
|
-- unfold any folded values
|
||||||
while string.find(line, "^%s") do
|
while string.find(line, "^%s") do
|
||||||
value = value .. line
|
value = value .. line
|
||||||
line = sock:receive()
|
line, err = sock:receive()
|
||||||
if err then return nil, err end
|
if err then return nil, err end
|
||||||
end
|
end
|
||||||
-- save pair in table
|
-- save pair in table
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue