Sha256: 9283d71dc2afc419bdda34c1d9feaaaf11e69cee9f000cdb1bf5589190a6c30c
Contents?: true
Size: 291 Bytes
Versions: 1
Compression:
Stored size: 291 Bytes
Contents
module Olelo module Middleware class UAHeader def initialize(app) @app = app end def call(env) status, headers, body = @app.call(env) headers['X-UA-Compatible'] = 'IE=Edge,chrome=1' [status, headers, body] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
olelo-0.9.6 | lib/olelo/middleware/ua_header.rb |