You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Zhen Wang (JIRA)" <ji...@apache.org> on 2008/06/06 05:08:45 UTC

[jira] Closed: (SHINDIG-349) Add support for "chained" proxy request syntax

     [ https://issues.apache.org/jira/browse/SHINDIG-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhen Wang closed SHINDIG-349.
-----------------------------

    Resolution: Fixed

> Add support for "chained" proxy request syntax
> ----------------------------------------------
>
>                 Key: SHINDIG-349
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-349
>             Project: Shindig
>          Issue Type: New Feature
>          Components: Common Components (Java)
>            Reporter: Zhen Wang
>            Assignee: Zhen Wang
>
> Problem:
> A remote file fetched from Shindig's proxy currently can't load external resources using relative paths.
> For example, a request for the file 'asset' from 'http://shindig/gadgets/proxy?url=http://host/path/main&nocache=1&other=params' will hit 'http://shindig/gadgets/asset' rather than 'http://host/path/asset'. This is particularly painful for gadget developers who want to cache Flash content with dynamically loaded content.
> Solution:
> Add support for an alternative, "chained" proxy request syntax that appends the target URL to the path of Shindig's proxy servlet such as 'http://shindig/gadgets/proxy//http://host/path/main'. Additional request parameters could be tucked between '/proxy/' and the target URL (e.g. 'http://shindig/gadgets/proxy/nocache=1&other=params/http://host/path/main'). With this feature in place, a relative path referenced in a cached file will be gracefully resolved to the correct URL which is also cached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.