intridea/grape — pull request #293 by inst (2012-12-23 12:26:28+00:00)
Title: added cookie deletion params

w/o such modification API servers ain't able to remove cookies set for different paths

e.g.:
cookies[:token] = { value: 'here is a token cookie', path: '/', httponly: true }
won't be deleted by simply
cookies.delete :token
instead you have to pass additional path option to remove proper cookie
cookies.delete :token, path: '/'

tested on Firefox 18 Mac, Ruby 1.9.3