Show HN: Lint for HTTP
github.com
github.com
The report format is beautiful too — I love that hovering highlights the relevant portions of the request, and thank you for the explain link; I loathe linters that offer no rationale.
Also, I love that the example taught me something too; I did not know some of these.
Also, very interesting that one of your examples is the Pragma header. I did not know that it was defined for requests only (and your explain link explains its rationale clearly enough that I now agree with it). I just implemented an OAuth client, and that standard requires it on responses:
> The authorization server MUST include the HTTP "Cache-Control" response header field [RFC2616] with a value of "no-store" in any response containing tokens, credentials, or other sensitive information, as well as the "Pragma" response header field [RFC2616] with a value of "no-cache".
The very RFC it cites even notes that this is unspecified!
> I need integrate this into our pre-production environments like yesterday!
Please feel free to share your experiences. The integration story here clearly needs more work, and it would be quite helpful to know where to focus.
As a Windows web dev, Fiddler [2] is pretty much invaluable, especially if I'm dealing with black-box services (I'm looking at you, Cisco).
But experience with Web browsers shows that there's a lot that can go wrong with HAR, so if you notice any other problems, feel free to submit an issue on GitHub so I can look into it.
I'm curious to know if anyone has tested it against popular web frameworks yet?
I hope to try it on Eve [1] soon-ish.