xref: /curl/tests/data/test1593 (revision e2b4df7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6HTTP replaced headers
7CURLOPT_TIMECONDITION
8If-Modified-Since
9</keywords>
10</info>
11
12# Server-side
13<reply>
14<data nocheck="yes">
15HTTP/1.1 304 Not Modified
16Date: Thu, 11 Jul 2019 02:26:59 GMT
17Server: test-server/swsclose
18
19</data>
20</reply>
21# Client-side
22<client>
23<server>
24http
25</server>
26<name>
27HTTP custom header overrides CURLOPT_TIMECONDITION
28</name>
29<tool>
30lib%TESTNUMBER
31</tool>
32<command>
33http://%HOSTIP:%HTTPPORT/%TESTNUMBER
34</command>
35</client>
36
37<verify>
38# Note here the lack of If-Modified-Since
39<protocol>
40GET /%TESTNUMBER HTTP/1.1
41Host: %HOSTIP:%HTTPPORT
42Accept: */*
43
44</protocol>
45</verify>
46</testcase>
47