Skip to content

POSTd data over 8kb in size fails #836

@prawnsalad

Description

@prawnsalad

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):

  • OS: [e.g. iOS]
  • Rust Version:
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions