Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
(Java) V4 4.7.1
-
None
-
None
Description
For async OData request, if a relative URL(such as: ../../async('EQ1XW')) is returned from server side, an exception will be reported by _AsyncRequestWrapperImpl.checkLocation function.
I think that should be a 'shortcoming' of OLingo, not only are relative URLs allowed/supported according to the OData standard, better yet they SHOULD be relative for the sole reason that often the server maybe work behind a proxy, which resides at a different URI, likely on a different HOST, most likely running on a different port and most definitely accepting request on a different service root path.
Relative URLs, part of the HTTP standard on which OData, are exactly there to make these transitions easy.