spring-data-rest icon indicating copy to clipboard operation
spring-data-rest copied to clipboard

AlpsController returns wrong Content-type header

Open Ickbinet opened this issue 3 years ago • 0 comments

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.

Ickbinet avatar Nov 28 '21 12:11 Ickbinet