Skip to content

Add header_hash feature for use in middleware.

Compare
Choose a tag to compare
@oreoshake oreoshake released this 30 Sep 19:43

See #167 and #168

tl;dr is that there is a class method SecureHeaders::header_hash that will return a hash of header name => value pairs useful for merging with the rack header hash in middleware.