On Wed, Sep 05, 2001 at 04:15:01PM -0700, Gisle Aas wrote:
> Parsing of <meta http-equiv="...."> stuff happen on the client side.
> Therefore picking up cookies embedded in the HTML should already work.
> Both of HTTP-Webtest and Monkeywrench use LWP in the standard way. If
> they don't pick up your cookies, then there must be a bug somewhere.
Yes there must be. I've tried the test program you sent in a previous message, and it
works fine here (standalone, no mod-perl). But HTTP-Webtest nor Monkeywrench see the
cookies my application sends.
OK, I found out why. Apparently my mod-perl application sends responses to the browser
_without any headers_, not even a 'HTTP/1.x 200 OK'. This is probably illegal, but
none of the browsers seem to have a problem with it (except for some older IE
versions, but they are completely hopeless anyway).
So LWP has a problem attaching the META header fields to an empty header. It does
generate the following lines apparently:
HTTP/0.9 200 OK
Client-Date: Thu, 06 Sep 2001 10:25:10 GMT
Client-Peer: 127.0.0.1:80
Fair enough, I guess, if empty headers are illegal.
Thanks for all the help Gisle.
Bye for now,
Ward.
--
http://pong.be - Your Belgian virtual hosting partner.