new (Rack::Test::Cookie)

    # File lib/rack/test/cookie_jar.rb, line 12
          def initialize(raw, uri = nil, default_host = DEFAULT_HOST)
            @default_host = default_host
            uri ||= default_uri

            # separate the name / value pair from the cookie options
            @name_value_raw, options = raw.split(/[;,] */n, 2)

            @name, @value = parse_query(@name_value_raw, ';').to_a.first
            @options = parse_query(options, ';')

            @options["domain"]  ||= (uri.host || default_host)
            @options["path"]    ||= uri.path.sub(/\/[^\/]*\Z/, "")
          end