curl-library
Re: HTTP redirect to HTTPS stops
From: Deweloper <deweloper_at_wp.pl>
Date: Tue, 21 Mar 2017 22:56:24 +0100
Date: Tue, 21 Mar 2017 22:56:24 +0100
On Tue, 21 Mar 2017 13:25:46 -0700
Dave S <snidely.too_at_gmail.com> wrote:
> doing a POST to a service we subscribe to, and using the HTTP: scheme, the
> server sends a 302 redirecting to the same URI with the scheme changed to
> HTTPS. The 302 frame also has connection: closed.
>
> The return code from curl_easy_perform()is 0, but no data is returned, and
> tcpdump doesn't show any additional interchange after the ack.
Have you enabled https://curl.haxx.se/libcurl/c/CURLOPT_FOLLOWLOCATION.html ?
What else options do you set?
-- ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2017-03-21