Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
INT-2837 Fix Accept Hdr for Serializable Response #685
When the expected-response-type was Serializable,
The SerializingHttpMessageConverter overrides
The superclass method allows null in the mediaType
Remove the overriden method.
After further discussion with @markfisher , we decided to remove the default enabling of Java serialization over HTTP because adding the Accept header may cause Serialization to trump JSON in certain cases; this could inadvertently cause Java serialization to be used instead of JSON.
Pushed - see the commit comments and what's new for more information.