mikaelbr/metatune — Issue #3: Add support for HTTP 1.0 responses
Author: mikaelbr
Created: 2011-11-06 17:10:29+00:00
State: open

There was an issue posted on Google Code:
>Hi!
>
>I found a problem in MetaTune->requestContent() method.
>The bug occurred on my on-line server, whereas it didn't on my off-line server.
>
>It was coming from the header return by the file_get_contents request which was different on my two servers.
>Thus, I simply replaced the line:
>"$errorCode = str_replace("HTTP/1.1 ", "", $http_response_header[0]);"
>by:
>"$errorCode = str_replace("HTTP/1.1 ", "", $http_response_header[0]);
>"$errorCode = str_replace("HTTP/1.0 ", "", $errorCode);"
>
>
>Anyway, nice lib and thanks for your work!
>
>Max