added the option CURLOPT_HTTP_VERSION that can specify which HTTP version

libcurl should use in its request
This commit is contained in:
Daniel Stenberg
2001-10-09 06:52:37 +00:00
parent 3685f792cb
commit a9181f8f00
3 changed files with 16 additions and 12 deletions

View File

@@ -520,11 +520,13 @@ struct UserDefined {
struct curl_slist *quote; /* before the transfer */
struct curl_slist *postquote; /* after the transfer */
struct curl_slist *telnet_options; /* linked list of telnet options */
TimeCond timecondition; /* kind of time/date comparison */
curl_TimeCond timecondition; /* kind of time/date comparison */
time_t timevalue; /* what time to compare with */
curl_closepolicy closepolicy; /* connection cache close concept */
Curl_HttpReq httpreq; /* what kind of HTTP request (if any) is this */
char *customrequest; /* HTTP/FTP request to use */
long httpversion; /* when non-zero, a specific HTTP version requested to
be used in the library's request(s) */
char *auth_host; /* if set, this is the allocated string to the host name
* to which to send the authorization data to, and no other
* host (which location-following otherwise could lead to)