xref: /curl/tests/data/test1214 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6HTTP proxy
7</keywords>
8</info>
9
10# Server-side
11<reply>
12<data>
13HTTP/1.1 200 OK
14Date: Tue, 09 Nov 2010 14:49:00 GMT
15Server: test-server/fake
16Content-Type: text/html
17Funny-head: yesyes
18Content-Length: 22
19
20the content goes here
21</data>
22</reply>
23
24# Client-side
25<client>
26<server>
27http
28</server>
29<name>
30HTTP with proxy and URL with ? and no slash separator
31</name>
32# the thing here is that this sloppy form is accepted and we convert it
33# for normal server use, and we need to make sure it gets converted to
34# RFC style even for proxies
35<command>
36-x %HOSTIP:%HTTPPORT http://we.want.that.site.com.%TESTNUMBER?moo=foo
37</command>
38<features>
39proxy
40</features>
41</client>
42
43# Verify data after the test has been "shot"
44<verify>
45<protocol>
46GET http://we.want.that.site.com.%TESTNUMBER/?moo=foo HTTP/1.1
47Host: we.want.that.site.com.%TESTNUMBER
48User-Agent: curl/%VERSION
49Accept: */*
50Proxy-Connection: Keep-Alive
51
52</protocol>
53</verify>
54</testcase>
55