hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: [jira] Resolved: (HTTPCLIENT-661) Error with quoted cookie value
Date Tue, 07 Aug 2007 16:54:39 GMT
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


Mime
View raw message