open-consul/.changelog/10204.txt
Rémi Lapeyre 5e33428b22
Always set the Content-Type header when a body is present (#10204)
* Always set the Content-Type header when a body is present

Closes https://github.com/hashicorp/consul/issues/10011

* Add Changelog entry

* Add more Content-Type exceptions

* Fix tests
2021-05-25 16:03:48 +01:00

4 lines
118 B
Plaintext

```release-note:improvement
api: The `Content-Type` header is now always set when a body is present in a request.
```