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
{{ message }}
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
Accept-Encoding: gzip, deflate
but this will assert with
Failed asserting that Binary String: 0x1f8b08003b81055200038d5441afd ...
If you look at the pcap for the request, this is the raw gzip result (starts at 0x01bb)
I believe that if you send Accept headers including gzip and you get gzipped data back then the getContent() function should correctly handle gzipped data, returning the decoded content without having to override with
I could be wrong but please do let me know if this is "as intended" as it seems a bit strange to me.
Reported from PHP 5.6 with curl, and Zend Framework 3.0.0
If I use this test code to pull content from (eg example.com)
then the client generates a header with
Accept-Encoding: gzip, deflate
but this will assert with
Failed asserting that Binary String: 0x1f8b08003b81055200038d5441afd ...
If you look at the pcap for the request, this is the raw gzip result (starts at 0x01bb)
I believe that if you send Accept headers including gzip and you get gzipped data back then the getContent() function should correctly handle gzipped data, returning the decoded content without having to override with
The text was updated successfully, but these errors were encountered: