Skip to content

[api] No body for 204 responses - #1891

Merged
MariemBaccari merged 2 commits into
interuss:masterfrom
Orbitalize:remove_204_body
Nov 2, 2026
Merged

MariemBaccari merged 2 commits into
interuss:masterfrom
Orbitalize:remove_204_body

Conversation

@MariemBaccari

Copy link
Copy Markdown
Contributor

WriteJSON currently always encodes a JSON body. For a 204 No Content response (used by Raft admin API), the http.ResponseWriter rejects the body and panics. This PR removes the body write for 204 responses and runs make apis.

@MariemBaccari
MariemBaccari merged commit 4368776 into interuss:master Nov 2, 2026
32 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants