lua-requests icon indicating copy to clipboard operation
lua-requests copied to clipboard

Implement replacing the HTTP backend

Open THE-FYP opened this issue 6 years ago • 1 comments

From the documentation:

The HTTP backend can be swapped out for anything that has the same API as LuaSocket's socket.http. This is done by setting the value of requests.http_socket. Swapping the HTTPS backend can be done by swapping out requests.https_socket.

THE-FYP avatar Jun 02 '19 07:06 THE-FYP

Something is wrong with this, it locks up quite a few of the tests.

JakobGreen avatar Jun 05 '19 23:06 JakobGreen