HTTP
HTTP proxy
HSTS
trailing-dot
# we use this as response to a CONNECT
HTTP/1.1 403 not OK at all
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 6
Connection: close
Funny-head: yesyes
-foo-
http
HSTS
proxy
https
# no trailing dot in the file only in the URL
this.hsts.example "99991001 04:47:41"
HSTS with trailing-dot host name in URL but none in hsts file
-x http://%HOSTIP:%HTTPPORT http://this.hsts.example./%TESTNUMBER --hsts log/input%TESTNUMBER -w '%{url_effective}\n'
# we let it CONNECT to the server to confirm HSTS but deny from there
CONNECT this.hsts.example.:443 HTTP/1.1
Host: this.hsts.example.:443
User-Agent: curl/%VERSION
Proxy-Connection: Keep-Alive
HTTP/1.1 403 not OK at all
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 6
Connection: close
Funny-head: yesyes
https://this.hsts.example./%TESTNUMBER
# Proxy CONNECT aborted
56