Sha256: 2cd1525da0638d20dff080b7db0664b179174285f83b286f6ae12e0fafe65fa8
Contents?: true
Size: 280 Bytes
Versions: 1
Compression:
Stored size: 280 Bytes
Contents
module Rack class DontMessWithMyJs def initialize(app) @app = app end def call(env) status, headers, body = @app.call(env) headers['Cache-Control'] = "no-transform; #{ headers['Cache-Control'] }" [status, headers, body] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dont-mess-with-my-js-0.0.1 | lib/rack/dont_mess_with_my_js.rb |