mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
corrected a comment
This commit is contained in:
parent
ecf32c964a
commit
bc67228576
@ -1631,18 +1631,16 @@ CURLcode Curl_follow(struct SessionHandle *data,
|
|||||||
infof(data, "Issue another request to this URL: '%s'\n", data->change.url);
|
infof(data, "Issue another request to this URL: '%s'\n", data->change.url);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We get here when the HTTP code is 300-399. We need to perform
|
* We get here when the HTTP code is 300-399 (and 401). We need to perform
|
||||||
* differently based on exactly what return code there was.
|
* differently based on exactly what return code there was.
|
||||||
* Discussed on the curl mailing list and posted about on the 26th
|
|
||||||
* of January 2001.
|
|
||||||
*
|
*
|
||||||
* News from 7.10.6: we can also get here on a 401, in case we need to
|
* News from 7.10.6: we can also get here on a 401, in case we act on a
|
||||||
* do Digest authentication.
|
* HTTP authentication scheme other than Basic.
|
||||||
*/
|
*/
|
||||||
switch(data->info.httpcode) {
|
switch(data->info.httpcode) {
|
||||||
case 401:
|
case 401:
|
||||||
/* Act on a digest authentication, we keep on moving and do the
|
/* Act on an authentication, we keep on moving and do the Authorization:
|
||||||
Authorization: Digest header in the HTTP request code snippet */
|
XXXX header in the HTTP request code snippet */
|
||||||
break;
|
break;
|
||||||
case 300: /* Multiple Choices */
|
case 300: /* Multiple Choices */
|
||||||
case 306: /* Not used */
|
case 306: /* Not used */
|
||||||
|
Loading…
Reference in New Issue
Block a user