You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Oleg Kalnichevski <ol...@apache.org> on 2007/08/07 18:54:39 UTC
Re: [jira] Resolved: (HTTPCLIENT-661) Error with quoted cookie
value
On Tue, 2007-08-07 at 18:50 +0200, Roland Weber wrote:
> Oleg Kalnichevski (JIRA) wrote:
> >
> > I either have to add an extra
> > attribute 'isQuoted' to HeaderElement / NameValuePair interfaces or
> > duplicate the complete HTTP header parser code in the cookie specs classes.
>
> I wasn't aware that the header parsing strips off quotes.
> Makes sense, of course. I'd use a 'quoteChar' attribute,
> so double vs. single quotes is preserved.
>
> > This is too much of a price to pay for a work-around for what is
> > essentially a bug in a broken CGI script.
>
> What about proxies that have to forward headers of unknown syntax
> unmodified?
>
Just forward it as is. What is the point of parsing it?
Oleg
> cheers,
> Roland
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
Re: [jira] Resolved: (HTTPCLIENT-661) Error with quoted cookie value
Posted by Roland Weber <os...@dubioso.net>.
>> What about proxies that have to forward headers of unknown syntax
>> unmodified?
>
> Just forward it as is. What is the point of parsing it?
I see. Header.getValue() keeps the quotes,
only HeaderElement will loose them. Good.
cheers,
Roland
---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org