Change the http status code when returning the "quota reached" status from APE #187

Open
opened 2024-12-24 02:32:02 +00:00 by r.loginov · 0 comments
Member

When we reached container quota - in response we see HTTP status code 400 Bad Request.

Describe the solution you'd like

Change the response status code to 409 Conflict.
We decided to use the 409 code because in frostfs-s3-gw we also use this code when the same error occurs.

## Is your feature request related to a problem? Please describe. When we reached container quota - in response we see HTTP status code 400 Bad Request. ## Describe the solution you'd like Change the response status code to 409 Conflict. We decided to use the 409 code because in [frostfs-s3-gw](https://git.frostfs.info/TrueCloudLab/frostfs-s3-gw/pulls/593) we also use this code when the same error occurs.
r.loginov self-assigned this 2024-12-24 02:32:04 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-http-gw#187
No description provided.