On Mon, 2006-04-17 at 13:59 -0700, Monkey Mike wrote:

> In all of these cases, I still get "Cookie Rejected" warnings for various 
> reasons.  I realize that the servers are breaking the rules, but I don't 
> have control over these servers and so I have to be able to handle whatever 
> they throw at me.
> 

Mike,

The browser compatibility policy should be lenient enough to accept all
malformed cookies accepted by so called popular browsers (IE, Mozilla
derivatives, etc). However, if you are absolutely sure your application
must accept just about anything that claims to be a cookie consider
extending the CookieSpecBase class and overriding the relevant methods.

Hope this helps

Oleg

> It was interesting to see that HttpClient imposes these restrictions on the 
> Cookie handling, as Perl's LWP does not.  I've had to set a few of my own 
> cookies here and there in both LWP and HttpClient because they are cookies 
> that are normally set via javascript, but never have I had to consider 
> whether or not cookies are following standards.
> 
> So is there a way to turn off these restrictions?  Or is there something 
> else that I might be doing wrong?
> 
> Any help that you could provide would be much appreciated.
> 
> Thanks! :)
> 
> -Mike Uehara-Bingen
> Yowza Software
> [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to