RFR: network: only set Content-type for JSON requests

Robin Westberg rwestberg at openjdk.java.net
Mon Apr 19 08:46:23 UTC 2021


On Mon, 19 Apr 2021 08:37:15 GMT, Erik Helin <ehelin at openjdk.org> wrote:

> Hi all,
> 
> please review this small patch that makes `RestRequest` only set `Content-type` to `application/json` if the content actually is JSON �� 
> 
> Thanks,
> Erik

Looks good!

-------------

Marked as reviewed by rwestberg (Reviewer).

PR: https://git.openjdk.java.net/skara/pull/1124


More information about the skara-dev mailing list