application/hal+json
is used, but it's non-standard
#2276
Labels
Milestone
application/hal+json
is used, but it's non-standard
#2276
Hi,
spring-hateoas uses the
application/hal+json
media type, but no such media type is registered with IANA. The standard media type isapplication/vnd.hal+json
(note the "vnd.
" prefix).The docs mention that if the client sets the
Accept
header toapplication/hal+json
, Spring will return the HAL representation of the resource. In my opinion, such representation should be returned also if the (registered)application/vnd.hal+json
media type is used instead.Here's the relevant documentation section:
spring-hateoas/src/main/asciidoc/fundamentals.adoc
Line 157 in b19f7de
Bye!
The text was updated successfully, but these errors were encountered: