class Rack::Test::Cookie

def default_uri

The default URI to use for the cookie, including just the host.
def default_uri
  URI.parse('//' + @default_host + '/')
end