Sha256: eb3ec9ddb6c15a984a2c8a1ea50a2b182fe5411282ed548dd210be6abb3581b6

Contents?: true

Size: 244 Bytes

Versions: 1

Compression:

Stored size: 244 Bytes

Contents

module Rack
  class ForceIE7
    def initialize app, options = { }
      @app = app
    end

    def call env
      status, headers, body = @app.call(env)
      headers["X-UA-Compatible"] = "IE=7"
      [status, headers, body]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-forceie7-1.0.0 lib/rack-forceie7.rb