Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1476

AsyncRequestWrapperImpl failed to process relative URL in Location header.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • (Java) V4 4.7.1
    • None
    • odata4-client
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            liyixa Ricky Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: