resty icon indicating copy to clipboard operation
resty copied to clipboard

Make curl_opt local variable so it does not leak between requests

Open komapa opened this issue 6 years ago • 1 comments

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.

komapa avatar Mar 21 '18 16:03 komapa

Any chance to get this merged?

komapa avatar Nov 08 '18 22:11 komapa