Closed cjoudrey closed 9 years ago
Instead of returning body, status, headers on success and nil, error on failure, we will return response on success and nil, error on failure.
body, status, headers
nil, error
response
response table will have the following properties:
body
string
cookies
table
headers
status_code
number
https://github.com/cjoudrey/gluahttp/commit/a88d29416cf3fe0a42e395a129e31bb7fa75e9fc
Instead of returning
body, status, headers
on success andnil, error
on failure, we will returnresponse
on success andnil, error
on failure.response
table will have the following properties:body
string
cookies
table
headers
table
status_code
number