API needs to support multiple links per rel
- Dominant language
- Java
- Stars
- 400
- Forks
- 143
- PR merge metrics
- No merged PRs in 30d
Description
RFC 5988 requires parsers to ignore multiple links with the same rel value for any given Link header:
[http://tools.ietf.org/html/rfc5988#section-5.3](http://tools.ietf.org/html/rfc5988#section-5.3)
However, this requirement does not apply across multiple Link headers, as clarified here:
[http://www.ietf.org/mail-archive/web/apps-discuss/current/msg07612.html](http://www.ietf.org/mail-archive/web/apps-discuss/current/msg07612.html)
Given that, the relevant API constructs must be fixed, for example:
ContainerResponseContext.hasLink(String relation)
ContainerResponseContext.getLink(String relation)
ContainerResponseContext.getLinkBuilder(String relation)
But there might be others, I think.
Jan
#### Affected Versions
[2.0]
Contributor guide
Assessment
This issue has not been assessed yet.