Sha256: f7f0b32c502afac0ab00c97d04b83c09ef17931e5a3b2c4a0f5e24132ce31874
Contents?: true
Size: 257 Bytes
Versions: 206
Compression:
Stored size: 257 Bytes
Contents
module Rack class Head def initialize(app) @app = app end def call(env) status, headers, body = @app.call(env) if env["REQUEST_METHOD"] == "HEAD" [status, headers, []] else [status, headers, body] end end end end
Version data entries
206 entries across 184 versions & 36 rubygems