Revert "http2: add X-Content-Type-Options automatically to prevent sniffing"

This reverts commit f73e4c9ed3b7ebdd5f699a16a880c2b1994e50dd.

Reason for revert: This turned out to cause more churn and provide less
security than expected.

Updates golang/go#24513

Change-Id: I2c8d0c39f8759ec8895a3261c91a98aeb2303ede
Reviewed-on: https://go-review.googlesource.com/117955
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
5 files changed
tree: 34fcbc371e02ce070b47438bbd4e57cf8392da77
  1. .gitattributes
  2. .gitignore
  3. AUTHORS
  4. CONTRIBUTING.md
  5. CONTRIBUTORS
  6. LICENSE
  7. PATENTS
  8. README.md
  9. bpf/
  10. codereview.cfg
  11. context/
  12. dict/
  13. dns/
  14. html/
  15. http/
  16. http2/
  17. icmp/
  18. idna/
  19. internal/
  20. ipv4/
  21. ipv6/
  22. lif/
  23. nettest/
  24. netutil/
  25. proxy/
  26. publicsuffix/
  27. route/
  28. trace/
  29. webdav/
  30. websocket/
  31. xsrftoken/
README.md

Go Networking

This repository holds supplementary Go networking libraries.

Download/Install

The easiest way to install is to run go get -u golang.org/x/net. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.