php-rest-api icon indicating copy to clipboard operation
php-rest-api copied to clipboard

Proxy issue

Open joachim-jansen opened this issue 1 year ago • 0 comments

Hi, I have an issue with a proxy containing multiple lines:

image001

$parts = explode("\r\n\r\n", $response, 3); $isThreePartResponse = (strpos($parts[0], "\n") === false && strpos($parts[0], 'HTTP/1.') === 0);

$parts[0] contains a newline so it's not considered as a three part response.

joachim-jansen avatar May 29 '24 09:05 joachim-jansen