On Wed, Sep 05, 2001 at 02:34:08PM -0700, Gisle Aas wrote:
> Ward Vandewege <[EMAIL PROTECTED]> writes:
> > <META http-equiv="Set-Cookie" content="hash=KMvJWfpPpqhgOEdU">
> This should already work for LWP (unless you turn off
> $ua->parse_head).  All the <META http-equiv="..."> headers are
> automatically made into real response headers so if you set up a
> $ua->cookie_jar it should pick up this header as well.

The problem is that I'm trying to use it on non-LWP generated web-pages. I was playing 
with the HTTP-Webtest module and the Monkeywrench module to build a test-suite for 
some web-application that I've built. It uses META-style cookies only, without copying 
them into the headers. Both HTTP-Webtest and Monkeywrench use libwww to parse the 
results of their queries and hence don't understand this. I imagine there may be more 
websites that do this - and as far as I know Apache isn't smart enough to generate 
proper cookie headers from the META-style cookies.

All your comments about the patch are very valid. I need to brush up my Perl coding 
style.

So what now? I think there may be a need for HTTP::Cookie to understand raw META-style 
cookies - at least I could use that...

Bye for now,
Ward.

-- 
http://pong.be - Your Belgian virtual hosting partner.

Reply via email to