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

controllers/helpers/pagination: Return 400 Bad Request for invalid seek parameters #7775

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Dec 20, 2023

well... it's still 200 OK due to the cargo rewrite middleware, but it would be 400 if that wasn't there...

previously this was converted to an internal server error, but since it's not the server's fault if faulty data is passed in this would have been wrong.

Related:

…seek parameters

well... it's still `200 OK` due to the cargo rewrite middleware, but it would be 400 if that wasn't there...
@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ labels Dec 20, 2023
@Turbo87 Turbo87 merged commit 2945bfd into rust-lang:main Dec 20, 2023
6 checks passed
@Turbo87 Turbo87 deleted the seek-response branch December 20, 2023 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant