mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-27 04:48:21 +01:00
HTTP.request was not returning response for body-less requests.
This commit is contained in:
parent
b73a66e635
commit
29ab78a74a
@ -585,6 +585,7 @@ function Public.request_cb(request, response)
|
|||||||
return response
|
return response
|
||||||
end
|
end
|
||||||
sock:close()
|
sock:close()
|
||||||
|
return response
|
||||||
end
|
end
|
||||||
|
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user