Methods
Class Public methods
Instance Public methods
# File actionpack/lib/action_dispatch/middleware/head.rb, line 7 7: def call(env) 8: if env["REQUEST_METHOD"] == "HEAD" 9: env["REQUEST_METHOD"] = "GET" 10: env["rack.methodoverride.original_method"] = "HEAD" 11: status, headers, _ = @app.call(env) 12: [status, headers, []] 13: else 14: @app.call(env) 15: end 16: end