hi, the responsobject from a HTTP request contains headers and the contents
of the document, usually HTML.
the individual header fields i have learned can be returned by the notation
$respons->header('some header');
but how does one get the status field? in the as_string representation of
the response, it says for example:HTTP/1.0 200 OK Cache-Control: max-age=3600 Connection: close Date: Mon, 04 Mar 2002 12:35:03 GMT Server: Apache/1.3.9 (Unix) Content-Type: text/html Expires: Mon, 04 Mar 2002 13:35:03 GMT etc... All the headers are represented on a line each with a colon, but how do i reach the info on the first line, ie HTTP/1.0 200 OK are they represented by some key or do i have to parse the string and extract them with regexp? regards Torbj�rn
