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
Newcomer
Improvement
AdminAPI
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 Assignees
1 Participants
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.