hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Glück <...@odi.ch>
Subject Re: blindly accept all cookies?
Date Mon, 29 Jan 2007 16:23:28 GMT
Ed,

I think it's useful to have support classes for debugging purposes. We 
could integrate your implementation in the stock version of HttpClient 
3.1 (and the future 4.0). Feel free to add a JIRA report at
http://issues.apache.org/jira/browse/HTTPCLIENT and attach your 
implementation.

Ortwin

Nuckles, Ed (GE Infra, Energy) wrote:
> Thanks.  I was hoping there was just a setting I was not aware of, but will do this way.
> 
> Ed
> 
> -----Original Message-----
> From: Ortwin Glück [mailto:odi@odi.ch] 
> Sent: Monday, January 29, 2007 10:56 AM
> To: HttpComponents Project
> Subject: Re: blindly accept all cookies?
> 
> Ed,
> 
> Of course: implement your own CookieSpec, register it with the CookiePolicy class and
set http.protocol.cookie-policy parameter to that name.
> 
> Ortwin
> 
> Nuckles, Ed (GE Infra, Energy) wrote:
>>  
>>  I'm using the latest version of HTTPClient.  I'm getting an error 
>> back from HttpMethodBase.processCookieHeaders  "illegal domain 
>> attribute ".ge-energy.com".  Domain of origin is <192....some local 
>> IP>"  I know exactly why this is happening.  The webserver is giving 
>> out a cookie with a different domain than its own because it expects 
>> the user to go through a reverse proxy.  However for debugging I am 
>> going around the reverse proxy and need to blindly accept all the 
>> cookies.  Is there a way to do this?
>>  
>> thanks,
>>  
>> Ed Nuckles
>> General Electric
>>
> 

-- 
[web]  http://www.odi.ch/
[blog] http://www.odi.ch/weblog/
[pgp]  key 0x81CF3416
        finger print F2B1 B21F F056 D53E 5D79 A5AF 02BE 70F5 81CF 3416

---------------------------------------------------------------------
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