Details
-
Bug
-
Resolution: Obsolete
-
Minor
-
None
-
3.0.14.Final, 3.6.2.Final
-
None
-
None
Description
The javadoc of Response.create(URI) method suggests that the relative URIs are resolved against UriInfo.getRequestUri().
The implementation of that method is:
return status(Status.CREATED).location(location);
but Response.location(URI) is documented to resolve the relative URIs against UriInfo.getBaseUri().
I don't know what is the expected correct behavior but either the javadoc or the impl is incorrect.