blob: bb3390f611be337fa19857e9eed20dd3f4721684 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6</keywords>
7</info>
8#
9# Server-side
10<reply>
11<data>
12HTTP/1.1 200 OK
13Date: Tue, 09 Nov 2010 14:49:00 GMT
14Content-Length: 6
15Content-Type: text/html
16Funny-head: yesyes
17
18-foo-
19</data>
20</reply>
21
22#
23# Client-side
24<client>
25<server>
26http
27</server>
28 <name>
29HTTP URL with escaped { and }
30 </name>
31<command>
32"http://%HOSTIP:%HTTPPORT/\{\}\/%TESTNUMBER"
33</command>
34<setenv>
35# Needed for MSYS2 to not convert all backslashes to forward slashes
36MSYS2_ARG_CONV_EXCL=http://
37</setenv>
38</client>
39
40#
41# Verify data after the test has been "shot"
42<verify>
43<protocol>
44GET /{}\/%TESTNUMBER HTTP/1.1
45Host: %HOSTIP:%HTTPPORT
46User-Agent: curl/%VERSION
47Accept: */*
48
49</protocol>
50
51</verify>
52</testcase>