Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
The application does a regular GET of an HTTP URL:
test_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
test_setopt(curl, CURLOPT_USERNAME, "user");
test_setopt(curl, CURLOPT_PASSWORD, "password");
test_setopt(curl, CURLOPT_REDIR_PROTOCOLS_STR, "imap");
The server responds with a 401 and regular WWW-Authenticate: response headers.
libcurl fails to get the URL.
Successful retrieval of the page. Removing the CURLOPT_REDIR_PROTOCOLS_STR line makes it succeed again.
current git master, but this is a bug that probably has always existed.
Linux, but is platform agnostic.
The text was updated successfully, but these errors were encountered:
http: mark it 'this_is_a_follow' in the Location: logic
To make regular auth "reloads" to not count as redirects.
Verified by test 3101
Successfully merging a pull request may close this issue.