spring-data-rest
spring-data-rest copied to clipboard
AlpsController returns wrong Content-type header
Hi,
when I request an ALPS profile with e.g. accept:text/html the AlpsController returns with Content-Type: text/html, but it should return with status 406.
When accept:text/html,*/* it returns with text/html too, but it should return application/alps+json.
Is this a bug or do I miss something?
Thx.