Hi Santiago, All,
What are the rules of resolving Links with relative URIs in
Response.getLinks() ?
The documentation only mentions that the resolution has to take place.
I'm asking because I'm seeing unexpected test failures.
For example, request uri is
http://localhost:8080/resource/get
Link URI is: "resource/consumesjson"
I expect that a resolved URI will produce:
http://localhost:8080/resource/resource/consumesjson
(this is correct per the regular URI resolution process)
but the test expects that
http://localhost:8080/resource/consumesjson
will be produced.
Before challenging it, I wonder if the expectation is that a relative
URI will always be added to the request URI host & port only in
Response.getLinks() ?
Thanks, Sergey