Sha256: 85bcb3085ceb9908c0e2f11ed30b4704e55e703064f43968baa1d929c5c7344c
Contents?: true
Size: 286 Bytes
Versions: 5
Compression:
Stored size: 286 Bytes
Contents
module Rack module PactBroker class AddCacheHeader def initialize app @app = app end def call(env) status, headers, body = @app.call(env) [status, { "Cache-Control" => "no-cache" }.merge(headers || {}), body] end end end end
Version data entries
5 entries across 5 versions & 1 rubygems