blob: eb209a5d6a9e841d0d4bce9a64305fd487c1b623 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<testcase>
2# Test that the fragment is not send as part of the path.
3<info>
4<keywords>
5HTTP
6CURLOPT_URL
7</keywords>
8</info>
9
10# Server-side
11<reply>
12<data>
13HTTP/1.1 200 OK
14Content-Length: 6
15
16hello
17</data>
18</reply>
19
20# Client-side
21<client>
22<server>
23http
24</server>
25 <name>
26HTTP GET with URL that contains fragment after the path
27 </name>
28 <command>
29http://%HOSTIP:%HTTPPORT/%TESTNUMBER#test
30</command>
31</client>
32
33
34# Verify data after the test has been "shot"
35<verify>
36<protocol>
37GET /%TESTNUMBER HTTP/1.1
38Host: %HOSTIP:%HTTPPORT
39User-Agent: curl/%VERSION
40Accept: */*
41
42</protocol>
43</verify>
44</testcase>