Package secureheader adds some HTTP headers widely considered to improve safety of HTTP requests.
Go
Switch branches/tags
Nothing to show
Latest commit 2789260 Aug 19, 2016 @kr committed on GitHub Revert "add ServeHTTPContext"
Go 1.7 has built-in support for context now, so this
ServeHTTPContext signature is no longer necessary. Any
clients who wish to use context with this package while
remaining on Go 1.6 or earlier should stick with the
previous commit.

This reverts commit 276a50b.

Closes #10.
Reviewers: @tessr

Readme

Package secureheader adds some HTTP header fields widely
considered to improve safety of HTTP requests.

See http://godoc.org/github.com/kr/secureheader for more.

Contributions from web application platforms are
encouraged. If you have different default behavior that
would make better sense in your environment, send a pull
request! See heroku.go for an example.