elasticsearch/docs/changelog/125562.yaml
David Turner 527d2a203b
Improve handling of empty response (#125562)
Today `ActionResponse$Empty` implements `ToXContentObject`, but yields
no bytes of content when serialized which creates an invalid JSON
response. This commit removes the bogus interface and adjusts the
affected REST APIs to send a `text/plain` response instead.
2025-04-07 12:10:07 +01:00

6 lines
103 B
YAML

pr: 125562
summary: Improve handling of empty response
area: Infra/REST API
type: bug
issues:
- 57639