-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
POSTd data over 8kb in size fails #836
Comments
are you able to provide your json? |
Sure. 1 byte over 8kb
|
Okay so, this is a bug relating to hyper streaming in chunks of about 8kb, I'll have a fix for this shortly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
curl -v -H "Content-Type: application/json" --data-binary @bulkbody.json http://localhost:8000/emails/_bulk
If bulkbody.json is over 8kb in size, toshi returns 400 bad request
{"message":"Error in Index: 'The provided string is not valid JSON'"}
To Reproduce
Steps to reproduce the behavior:
Post a a request over 8kb in size
Expected behavior
Should be able to accept 8kb POST data or be configurable
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: