# File 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, body = @app.call(env)
12: [status, headers, []]
13: else
14: @app.call(env)
15: end
16: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.