module Roda::RodaPlugins::Cookies::ResponseMethods

def set_cookie(key, value)

response.set_cookie('foo', :value=>'bar', :domain=>'example.org')
response.set_cookie('foo', 'bar')

Set the cookie with the given key in the headers.
def set_cookie(key, value)
  ::Rack::Utils.set_cookie_header!(@headers, key, value)
end