mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-19 04:45:07 -04:00
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.
6 lines
103 B
YAML
6 lines
103 B
YAML
pr: 125562
|
|
summary: Improve handling of empty response
|
|
area: Infra/REST API
|
|
type: bug
|
|
issues:
|
|
- 57639
|