static public Method

Merb.remove_response_headers!(key)

Completely removes any headers set that are additional to the content-type header.

Source Code

# File merb/mixins/responder.rb, line 63
def remove_response_headers!(key)
  raise ArgumentError unless key.is_a?(Symbol)
  response_headers[key] = {}
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.