HTTP HTTPS proxy HSTS trailing-dot HTTP/1.1 200 OK Content-Length: 6 Strict-Transport-Security: max-age=604800 -foo- HTTP/1.1 200 OK Content-Length: 6 Strict-Transport-Security: max-age=6048000 -baa- http https-proxy HSTS proxy http HSTS via https: proxy ignored for http: URLs -x https://%HOSTIP:%HTTPSPROXYPORT --proxy-insecure --hsts %LOGDIR/hsts%TESTNUMBER http://this.hsts.example./%TESTNUMBER http://another.example.com/%TESTNUMBER0002 GET http://this.hsts.example./%TESTNUMBER HTTP/1.1 Host: this.hsts.example. User-Agent: curl/%VERSION Accept: */* Proxy-Connection: Keep-Alive GET http://another.example.com/%TESTNUMBER0002 HTTP/1.1 Host: another.example.com User-Agent: curl/%VERSION Accept: */* Proxy-Connection: Keep-Alive # The saved HSTS file must be empty as the HSTS headers were not secured # Your HSTS cache. https://curl.se/docs/hsts.html # This file was generated by libcurl! Edit at your own risk.