chromium / hstspreload

🔒🔍 A Go package to scan sites against requirements for Chromium-maintained HSTS preload list.
https://hstspreload.org
BSD 3-Clause "New" or "Revised" License
116 stars 37 forks source link

Output a `curl` command for debugging. #123

Open lgarron opened 1 year ago

lgarron commented 1 year ago

Experimentation for https://github.com/chromium/hstspreload.org/issues/215

I don't think this particular implementation is great, for a few reasons. But it moves the error message closer to specifying exactly what request failed to meet the requirement and how to observe it directly. Feel free to take it and run with it!