To start with I\'ve read this:
Spring boot - setting default Content-type header if it's not present in request
The older version of this worked on spring