Skip to content
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

Brotli fails to decode some HTTP response bodies received from yelp.com #1154

Open
guoye-zhang opened this issue Apr 10, 2024 · 1 comment
Open

Comments

@guoye-zhang
Copy link

> curl -H 'accept-encoding: br' 'https://www.yelp.com/biz/Qy_RVSvDoUfCETQ6vuq6Tw/props?override_cta=Get+a+Quote&original_request_id=40d132c208636611' | ./brotli -d -c -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 4810 0 4810 0 0 2575 0 --:--:-- 0:00:01 --:--:-- 2574
corrupt input [con]

This specific URL loads fine in Chrome.

The archive might not have been terminated correctly.

@perklet
Copy link

perklet commented May 6, 2024

I also find the same error, it seems that curl 8.5 and 8.6 has some issues, but curl 8.7.1 works fine for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants