Skip to content

Request with Accept header to application/json returns 406 #26

@snicoll

Description

@snicoll

I don't know if that's intended. It seems inconsistent to me at the very least. The following calls with an Accept header set to application/json fail with a 406:

However calling https://api.spring.io/projects/spring-boot/releases work.

I am not sure it is worth rejecting anything that doesn't ask specifically for HAL but if we do it, then I believe the releases endpoint should reject such request as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions