X Tutup
Skip to content

fix: treat HTTP 202 Accepted as valid response#75

Merged
nats merged 1 commit intobinarylane:mainfrom
nats:fix/1190-http-202-error
Jan 21, 2026
Merged

fix: treat HTTP 202 Accepted as valid response#75
nats merged 1 commit intobinarylane:mainfrom
nats:fix/1190-http-202-error

Conversation

@nats
Copy link
Copy Markdown
Contributor

@nats nats commented Jan 13, 2026

Summary

  • Fix server action rename incorrectly treating HTTP 202 response as an error
  • Add HTTP 202 to list of acceptable "no content" status codes alongside 204
  • Add test case for HTTP 202 Accepted response handling

The `server action rename` command returns HTTP 202 with no body for
async operations. Previously this was incorrectly treated as an error,
outputting "ERROR: HTTP 202" with exit status 4.
@nats nats merged commit f7fc13c into binarylane:main Jan 21, 2026
18 checks passed
@nats nats deleted the fix/1190-http-202-error branch January 21, 2026 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

X Tutup