spring-projects / spring-projects/spring-data-rest
AlpsController returns wrong Content-type header
Open
@odrotbohm is already working on this.
Since Nov 29, 2021.
status: waiting-for-triage
- Dominant language
- Java
- Stars
- 958
- Forks
- 568
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.