xref: /curl/tests/data/test1468 (revision f81f351b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6SOCKS5
7SOCKS5h
8UnixSockets
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
36UnixSockets
37</features>
38<server>
39http
40socks5unix
41</server>
42<name>
43HTTP GET with host name using SOCKS5h via Unix sockets
44</name>
45<command>
46http://this.is.a.host.name:%HTTPPORT/%TESTNUMBER --proxy socks5h://localhost%SOCKSUNIXPATH
47</command>
48</client>
49
50#
51# Verify data after the test has been "shot"
52<verify>
53<protocol>
54GET /%TESTNUMBER HTTP/1.1
55Host: this.is.a.host.name:%HTTPPORT
56User-Agent: curl/%VERSION
57Accept: */*
58
59</protocol>
60<socks>
61atyp 3 => this.is.a.host.name
62</socks>
63</verify>
64</testcase>
65