OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new repo
[bytom/vapor.git]
/
vendor
/
github.com
/
kr
/
secureheader
/
heroku.go
1
// +build heroku
2
3
package secureheader
4
5
// Heroku dynos sit behind a proxy. Trust that the proxy sets
6
// X-Forwarded-Proto correctly and that eavesdropping won't happen
7
// on the last hop.
8
const defaultUseForwardedProto = true