v1.1.1
- redirects after POST request are now being handled properly
https://curl.haxx.se/libcurl/c/CURLOPT_FOLLOWLOCATION.html
When following a Location:, the 3xx response code that redirected it also dictates which request method it will use in the subsequent request: For 301, 302 and 303 responses libcurl will switch method from POST to GET unless CURLOPT_POSTREDIR instructs libcurl otherwise. All other 3xx codes will make libcurl send the same method again.
the switch does not happen if CURLOPT_CUSTOMREQUEST option is set. Thanks to:
Kong/insomnia#227