mirror of
https://github.com/curl/curl.git
synced 2026-06-27 13:55:40 +03:00
Added auto and free referer fields to the UrlData struct
This commit is contained in:
parent
1c6eccbf84
commit
f22717fe6c
1 changed files with 4 additions and 0 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue