twitter/secureheaders — pull request #46 by reedloden (2013-04-09 21:01:42+00:00)
Title: Allow HSTS max_age values to be a string or an integer

I ran into a problem where I was using 1.year.to_i for my max_age, yet STSBuildError kept throwing on me. Similar to how X-XSS-Protection values were fixed, change HSTS max_age to allow strings or integers.