• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3# verify URL with hostname ending in pound sign
4<keywords>
5HTTP
6HTTP GET
7HTTP proxy
8</keywords>
9</info>
10
11#
12# Server-side
13<reply>
14<data>
15HTTP/1.1 200 OK
16Content-Length: 6
17Connection: close
18
19-foo-
20</data>
21
22<data1>
23HTTP/1.1 200 OK
24Content-Length: 7
25Connection: close
26
27-cool-
28</data1>
29</reply>
30
31#
32# Client-side
33<client>
34<server>
35http
36</server>
37 <name>
38URL with '#' at end of host name instead of '/'
39 </name>
40 <command>
41--proxy http://%HOSTIP:%HTTPPORT http://test.remote.haxx.se.1246:%HTTPPORT#@127.0.0.1/tricked.html no-scheme-url.com.1246:%HTTPPORT#@127.127.127.127/again.html
42</command>
43</client>
44
45#
46# Verify data after the test has been "shot"
47<verify>
48<strip>
49^User-Agent:.*
50</strip>
51<protocol>
52GET http://test.remote.haxx.se.1246:%HTTPPORT/ HTTP/1.1
53Host: test.remote.haxx.se.1246:%HTTPPORT
54Accept: */*
55Proxy-Connection: Keep-Alive
56
57GET http://no-scheme-url.com.1246:%HTTPPORT/ HTTP/1.1
58Host: no-scheme-url.com.1246:%HTTPPORT
59Accept: */*
60Proxy-Connection: Keep-Alive
61
62</protocol>
63</verify>
64</testcase>
65