mirror of
https://github.com/curl/curl.git
synced 2026-06-07 17:24:21 +03:00
CURL_TIMECOND_IFMODSINCE
This commit is contained in:
parent
36af5cceb1
commit
0fbb6e4016
2 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ static CURLcode test_lib1511(char *URL)
|
|||
|
||||
easy_setopt(curl, CURLOPT_URL, URL);
|
||||
easy_setopt(curl, CURLOPT_HEADER, 1L);
|
||||
easy_setopt(curl, CURLOPT_TIMECONDITION, (long)CURL_TIMECOND_IFMODSINCE);
|
||||
easy_setopt(curl, CURLOPT_TIMECONDITION, CURL_TIMECOND_IFMODSINCE);
|
||||
|
||||
/* TIMEVALUE in the future */
|
||||
easy_setopt(curl, CURLOPT_TIMEVALUE, 1566210680L);
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ static CURLcode test_lib1593(char *URL)
|
|||
easy_init(curl);
|
||||
|
||||
easy_setopt(curl, CURLOPT_URL, URL);
|
||||
easy_setopt(curl, CURLOPT_TIMECONDITION, (long)CURL_TIMECOND_IFMODSINCE);
|
||||
easy_setopt(curl, CURLOPT_TIMECONDITION, CURL_TIMECOND_IFMODSINCE);
|
||||
/* Some TIMEVALUE; it doesn't matter. */
|
||||
easy_setopt(curl, CURLOPT_TIMEVALUE, 1566210680L);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue