Yep, and application developers might want to specify their own non-standard
headers as well.

OK - do you want me to make that change?  Shall I create a JIRA for it?

Cheers
Chris



2009/5/22 Greg Brown <[email protected]>

> >you can have multiple headers with the same name, e.g.
> >
> >Set-Cookie: name=MyCookie; value=Some value
> >Set-Cookie: name=AnotherCookie; value=666
>
> I thought about that when writing the Query class initially, but I went
> with the simplified approach because I couldn't think of many use cases for
> multiple response headers with the same name. I forgot about the cookie
> case, though, which is pretty important. I think your suggestion is good,
> though I would change String[] to a Sequence<String> since we generally use
> sequences in place of arrays throughout the API, and we'll probably want it
> to be read-only. Maybe something like this:
>
>    public final class ResponsePropertiesDictionary
>        implements Dictionary<String,
> pivot.collections.immutable.ImmutableList<String>>, Iterable<String> { ... }
>
>
> Greg
>
>
>

Reply via email to