Debian Codegraph @

deps/curl/tests/data/test1593

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