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

Flurl.Http.FlurlHttpException: 'Call failed. The archive entry was compressed using an unsupported compression method #848

Open
totalgit74 opened this issue Nov 24, 2024 · 0 comments

Comments

@totalgit74
Copy link

I've setup a request for an internal company url with header accept application/json and 120s timeout.
I've tried await request.AllowAnyHttpStatus().GetAsync() and keep getting...

Flurl.Http.FlurlHttpException: 'Call failed. The archive entry was compressed using an unsupported compression method: GET <url>'

Inner Exception
InvalidDataException: The archive entry was compressed using an unsupported compression method.

This same code was working previously and if I perform curl -X 'GET' '<url>' -H 'accept: application/json' from a git bash window the call works and returns JSON.

How do I begin to even diagnose what Flurl is seeing that it cannot process? I feel that if I use a native .Net client I may get a different result any way.

Using Flurl.Http 4.0.2 with .Net 6

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

1 participant