sinatra/sinatra-contrib — pull request #118 by colinsurprenant (2014-02-06 07:15:01+00:00)
Title: unset domain for localhost by default and support options when setting cookie

should fix #113 & #115

First, by default unset domain when `@request.host == 'localhost'`. Setting domain to localhost does not work in particular on Chrome.

I also added the possibility to pass cookie options when setting a cookie.

Added corresponding tests and doc.