You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Very seldom I get an ErrorException when using php-spo because one of the response header lines does not contain a : character. This happened ~8 times in the last 2 years.
I unfortunately do not have an example of such a HTTP response header.
The relevant code in Runtime/Http/Response.php is
The text was updated successfully, but these errors were encountered:
cweiske
changed the title
ErrorException when parsing HTTP response
ErrorException when parsing HTTP response: Undefined offset: 1
Mar 4, 2024
cweiske
changed the title
ErrorException when parsing HTTP response: Undefined offset: 1
ErrorException when parsing header in HTTP response: Undefined offset: 1
Mar 4, 2024
Very seldom I get an
ErrorException
when using php-spo because one of the response header lines does not contain a:
character. This happened ~8 times in the last 2 years.I unfortunately do not have an example of such a HTTP response header.
The relevant code in
Runtime/Http/Response.php
isand the error message is
It would be nice if the code would check if the header line can indeed be split before doing so.
Stack trace
The text was updated successfully, but these errors were encountered: