We should return 204 instead of 200 when returning an empty body #376
Labels
No Label
AdminAPI
Bug
Check AWS
CI
Correctness
Critical
Documentation
Ideas
Improvement
Low priority
Newcomer
Performance
S3 Compatibility
Testing
Usability
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#376
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, we return
StatusCode::OK
(200) -> https://docs.rs/hyper/latest/hyper/struct.StatusCode.html#associatedconstant.OKWe should return instead
StatusCode::NO_CONTENT
(204) -> https://docs.rs/hyper/latest/hyper/struct.StatusCode.html#associatedconstant.NO_CONTENT