aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-06-20 11:23:31 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-06-20 11:23:31 +0000
commitf22717fe6c379d3565cfd252c7c2f9b80ca15f97 (patch)
tree313a2e9ab85203515f12d22cc6db3f45d55a8d63
parent1c6eccbf847b9b9d2d1735dbaf1cf2573fd8e620 (diff)
Added auto and free referer fields to the UrlData struct
-rw-r--r--lib/urldata.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 124d95e3b..132b2e248 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -252,6 +252,7 @@ struct Configbits {
bool http_post;
bool http_put;
bool http_set_referer;
+ bool http_auto_referer; /* set "correct" referer when following location: */
bool httpproxy;
bool mute;
bool no_body;
@@ -335,6 +336,9 @@ struct UrlData {
char *range; /* range, if used. See README for detailed specification on
this syntax. */
char *postfields; /* if POST, set the fields' values here */
+
+ bool free_referer; /* set TRUE if 'referer' points to a string we
+ allocated */
char *referer;
char *useragent; /* User-Agent string */