We should return 204 instead of 200 when returning an empty body #376

Closed
opened 2022-09-12 09:27:14 +00:00 by quentin · 0 comments
Owner
Currently, we return `StatusCode::OK` (200) -> https://docs.rs/hyper/latest/hyper/struct.StatusCode.html#associatedconstant.OK We should return instead `StatusCode::NO_CONTENT` (204) -> https://docs.rs/hyper/latest/hyper/struct.StatusCode.html#associatedconstant.NO_CONTENT
quentin added the
action
for-newcomers
kind
improvement
scope
admin-api
labels 2022-09-12 09:27:14 +00:00
quentin added this to the v0.9 milestone 2022-09-14 13:26:32 +00:00
lx closed this issue 2022-10-18 14:20:45 +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: Deuxfleurs/garage#376
No description provided.