-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zend_Http_Exception: Invalid header line detected #51
Comments
It looks like the issue comes from the fact the response is HTTP/2 instead of HTTP/1.1 and the Zend library doesn't support that format. I've modified the checks in the lib/Zend/Http/Response.php file for now but it doesn't feel like a great fix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Zend_Http_Exception: Invalid header line detected in lib/Zend/Http/Response.php:572
Stack trace:
#0 lib/Zend/Http/Response.php(696): Zend_Http_Response::extractHeaders('HTTP/2 200 \r\nco...')
#1 lib/Zend/Http/Client.php(1110): Zend_Http_Response::fromString('HTTP/2 200 \r\nco...')
#2 lib/Varien/Http/Client.php(61): Zend_Http_Client->request('GET')
I've logged out the full response and can't see an obvious issue with the headers
2018-11-14T17:29:05+00:00 DEBUG (7): HTTP/2 200
content-type: application/json; charset=utf-8
content-encoding: gzip
date: Wed, 14 Nov 2018 17:29:05 GMT
expires: Wed, 14 Nov 2018 17:29:05 GMT
cache-control: private, max-age=0
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
content-length: 107
server: GSE
alt-svc: quic=":443"; ma=2592000; v="44,43,39,35"
��������«æRPP*.MNN-.V²R()*MÕ� %g$æä¤æ¥§Æ��Ä��
MB -t
Í�,¬�M¢�À*3ò�Kò�sSAªÊËËõrRóó
�Ksô�ós�¸j�÷à<Ía���
^X^C
This has been working for over a year without issue until today or last few days.
Is this something you've seen?
Tahnks
The text was updated successfully, but these errors were encountered: