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

Clarify what error code should be returned when the uploaded event is too large. #940

Open
ShadowJonathan opened this issue Dec 2, 2021 · 0 comments
Labels
clarification An area where the expected behaviour is understood, but the spec could do with being more explicit

Comments

@ShadowJonathan
Copy link
Contributor

ShadowJonathan commented Dec 2, 2021

While converting complement tests, i encountered an old sytest which asserts that too-large content should be rejected with a 413.

Even though both dendrite and synapse return a 413 when encountering large events, this is mentioned nowhere explicitly in the spec.

@ShadowJonathan ShadowJonathan added the clarification An area where the expected behaviour is understood, but the spec could do with being more explicit label Dec 2, 2021
@ShadowJonathan ShadowJonathan changed the title Clarify what error code should be returned when the uploaded content is too large. Clarify what error code should be returned when the uploaded event is too large. Dec 2, 2021
@richvdh richvdh transferred this issue from matrix-org/matrix-spec-proposals Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarification An area where the expected behaviour is understood, but the spec could do with being more explicit
Projects
None yet
Development

No branches or pull requests

1 participant