Navigating to URLs in the common container has no indication of success or 
failure
----------------------------------------------------------------------------------

                 Key: SHINDIG-1669
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1669
             Project: Shindig
          Issue Type: Improvement
    Affects Versions: 3.0.0
            Reporter: Ryan Baxter


When you call commoncontainer.navigateUrl if the URL cannot be reached the 
caller has no way of knowing if the URL was navigated successfully or not.  To 
solve this we make a head request to the URL we are navigating to and add a 
callback to the API.

It is important to note that we will not be caching the response of the head 
request.  While this could possibly give us better performance we have no way 
of guaranteeing the server will still be up next time and everything may fail.  
This is different from the gadget case where we have the gadget XML cached on 
the server.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to