1<testcase> 2<info> 3<keywords> 4HTTPS 5HTTP 6HTTP GET 7SOCKS5 8SOCKS5h 9UnixSockets 10</keywords> 11</info> 12 13# 14# Server-side 15<reply> 16<data> 17HTTP/1.1 200 OK 18Date: Tue, 09 Nov 2010 14:49:00 GMT 19Server: test-server/fake 20Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 21ETag: "21025-dc7-39462498" 22Accept-Ranges: bytes 23Content-Length: 6 24Connection: close 25Content-Type: text/html 26Funny-head: yesyes 27 28-foo- 29</data> 30</reply> 31 32# 33# Client-side 34<client> 35<features> 36proxy 37UnixSockets 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