develooper Front page | perl.libwww | Postings from September 2001

[PATCH] extension for HTTP/

Thread Next
Ward Vandewege
September 5, 2001 13:19
[PATCH] extension for HTTP/
Message ID:

I was trying to use from libwww v5.53 to read some cookies off a web-page. It didn't work, and I realised that doesn't support the META-style of setting cookies in HTML, which is accepted by all major browsers (Netscape, Mozilla, Opera, and even Internet Exploiter):

<META http-equiv="Set-Cookie" content="hash=KMvJWfpPpqhgOEdU">

So, I hacked (limited) support for this style of cookies in The patch is attached. It works for me but it's probably not the cleanest code ever (even though it is quite simple). This could probably be useful for more people, so I wonder if this 'feature' could be added to

Bye for now,
Ward Vandewege.

-- - Your Belgian virtual hosting partner.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About