OSDN Git Service

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