in reply to Re: HTTP Headers Using WWW::Mechanize
in thread HTTP Headers Using WWW::Mechanize
Nothing, except it solves a problem other than the one I was going after (see Description).
First, the docs for WWW::Mechanize leave a little to be desired as far as getting at the headers in the first place. You have to know that the HTTP::Response object returned by the response() method has what you are looking for.
Second, the intention by accessing them by key was just to get the value you wanted as per the Description. In this particular case, water was after the p3p key. Of course you could parse the results of the as_string method, but why?
Cheers - L~R
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: HTTP Headers Using WWW::Mechanize
by petdance (Parson) on Jan 31, 2005 at 21:36 UTC | |
by Limbic~Region (Chancellor) on Feb 01, 2005 at 14:19 UTC | |
by igoryonya (Pilgrim) on Oct 15, 2022 at 01:11 UTC | |
by marto (Cardinal) on Oct 15, 2022 at 13:34 UTC | |
by igoryonya (Pilgrim) on Oct 16, 2022 at 00:08 UTC | |
by marto (Cardinal) on Oct 16, 2022 at 09:28 UTC | |
by Anonymous Monk on Oct 16, 2022 at 07:30 UTC |