Skip to content

Instantly share code, notes, and snippets.

@xxx xxx/header_delete.rb Secret
Created Apr 25, 2012

Embed
What would you like to do?
class HeaderDelete
def initialize(app, options = {})
@app, @options = app, options
end
def call(env)
r = @app.call(env)
#[status, headers, response] = r
r[1].delete "X-Runtime"
r
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.