hi!
Suppose I send a http request... and get all HTTP headers.
Then I use $r->headers_as_string.
But some servers has "doubled" header variables - for instance, I get this:
Content-Type: text/html; charset=iso-8859-2
Content-Type: text/html; charset=ISO-8859-2
If I print this out using $r->header("Content-Type"), I get this:
text/html; charset=iso-8859-2text/html; charset=ISO-8859-2
The problem: how to separate two same header variables into an array for
instance?
bye, Matej
- Re: separation of header variables Matej Kovacic
- Re: separation of header variables Gisle Aas
- Re: separation of header variables John Stracke
