http-client
http-client copied to clipboard
Add HSTS support
Closes #112 Not sure if this should go in a separate project like https://github.com/amphp/http-client-cookies but it is fairly well-contained. Note that I couldn't run the test with a full request because it auto-promotes to HTTPS (which is what we're testing here) and the interception test won't respond with HTTPS.
Is there any chance of getting this merged into v5, or should this go into a separate project?
This should go to a separate repo, as we might want to automate releases there with an updated preload list.
I can create one so you can open the PR there. 😊