• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4HTTPS
5HTTP
6HTTP GET
7SOCKS5
8SOCKS5h
9</keywords>
10</info>
11
12#
13# Server-side
14<reply>
15<data>
16HTTP/1.1 200 OK
17Date: Tue, 09 Nov 2010 14:49:00 GMT
18Server: test-server/fake
19Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
20ETag: "21025-dc7-39462498"
21Accept-Ranges: bytes
22Content-Length: 6
23Connection: close
24Content-Type: text/html
25Funny-head: yesyes
26
27-foo-
28</data>
29</reply>
30
31#
32# Client-side
33<client>
34<features>
35proxy
36unix-sockets
37!NSS
38</features>
39<server>
40https
41socks5unix
42</server>
43 <name>
44HTTPS GET with host name using SOCKS5h via unix sockets
45 </name>
46 <command>
47https://this.is.a.host.name:%HTTPSPORT/%TESTNUMBER -k --proxy socks5h://localhost%SOCKSUNIXPATH
48</command>
49</client>
50
51#
52# Verify data after the test has been "shot"
53<verify>
54<protocol>
55GET /%TESTNUMBER HTTP/1.1
56Host: this.is.a.host.name:%HTTPSPORT
57User-Agent: curl/%VERSION
58Accept: */*
59
60</protocol>
61<socks>
62atyp 3 => this.is.a.host.name
63</socks>
64</verify>
65</testcase>
66