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

(Mint.HTTPError) the given data exceeds the request window size, which is 65536. #336

Closed
Arsenalist opened this issue Mar 28, 2024 · 1 comment

Comments

@Arsenalist
Copy link

I'm trying to use Req to upload images to FB as a base64 string, and keep getting this:

(Mint.HTTPError) the given data exceeds the request window size, which is 65536. The server will refill the window size of the request when ready. This will be handled transparently by stream/2.

Is there a way to significantly increase this limit so that Req can upload videos/images?

@wojtekmach
Copy link
Owner

Please explicitly set connect_option protocols to [:http1] or [:http2], or update to latest Req which does the former.

this bug is tracked here: sneako/finch#265

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