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

get moz-extension scheme file throws ClientException: Invalid content-length header [-1] #1240

Open
Chralu opened this issue Jun 20, 2024 · 0 comments
Labels
package:http type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@Chralu
Copy link

Chralu commented Jun 20, 2024

Getting a file from a firefox extension, returns Content-length is -1.

Because of this, get method throws a ClientException: Invalid content-length header [-1]. exception.

await get('moz-extension://<extension-id>/index.html')

Should that check be disabled for moz-extension scheme ?

http version : 1.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:http type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

1 participant