= private = protected
hsts_headers()
http://tools.ietf.org/html/draft-hodges-strict-transport-sec-02
# File actionpack/lib/action_dispatch/middleware/ssl.rb, line 48 def hsts_headers if @hsts value = "max-age=#{@hsts[:expires].to_i}" value += "; includeSubDomains" if @hsts[:subdomains] { 'Strict-Transport-Security' => value } else {} end end