BufferedImageHttpMessageConverter cannot convert to a media type it claims it can [SPR-15037] #19603
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Dave Syer opened SPR-15037 and commented
The samples in spring-secuirty-oauth2 suffer from this problem. I think it is probably platform/browser dependent because I couldn't reproduce it till today, and now I can (Ubuntu 14.04, Chrome 50.0.2661.86). The browser sends
and the app sends back a response entity with
Content-Type: image/jpeg
. The converter comes in and claims that it can convert toAnd then fails to do the conversion to the highest priority media type:
The sample is old and still uses Spring 4.0.9, but I tried with 4.3.4 (just add
<spring.version>4.3.4.RELEASE</spring.version>
to the properties in the tonr2 pom.xml) and the problem is the same.Affects: 4.3.4
Reference URL: spring-attic/spring-security-oauth#427
Issue Links:
The text was updated successfully, but these errors were encountered: