Skip to content
Snippets Groups Projects
Commit 29bfaaa1 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

set a bit when a Location: is followed to allow code to act differently

on those occations
parent 18853542
No related branches found
No related tags found
No related merge requests found
......@@ -614,6 +614,9 @@ CURLcode curl_transfer(CURL *curl)
char prot[16];
char path[URL_MAX_LENGTH];
/* mark the next request as a followed location: */
data->bits.this_is_a_follow = TRUE;
if(data->bits.http_auto_referer) {
/* We are asked to automatically set the previous URL as the
referer when we get the next URL. We pick the ->url field,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment