resty
resty copied to clipboard
Make curl_opt local variable so it does not leak between requests
Fixing the scope of curl_opt so that it does not leak between requests. Before this fix, if you issue a HEAD and then a GET, you are still getting the -I
parameter and causes the GET to be treated as a HEAD.
This includes the fixes from https://github.com/micha/resty/pull/80 and will wait for that to get merged (soon?) and then rebase mine.
Any chance to get this merged?