wsrp message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Re: [wsrp] [AJAX] Redirect behavior - clarification
- From: Rich Thompson <richt2@us.ibm.com>
- To: wsrp@lists.oasis-open.org
- Date: Wed, 10 May 2006 00:16:17 -0400
I'm sorry, but the context for your
question appears to be missing. I presume you are asking about a situation
where the Consumer is providing some sort of client-side aggregation and
that pbia() has returned a redirectURL. If that is your question, I do
not see why the semantics would be any different than it is today, namely
that the Consumer will redirect the End-User to the new URL. Are you proposing
changing this portion of the protocol's semantics, or that moving the network
tier where aggregation occurs should change the semantics or something
else altogether?
Rich
subbu@bea.com
05/09/06 03:24 PM
|
To
| wsrp@lists.oasis-open.org
|
cc
|
|
Subject
| [wsrp] [AJAX] Redirect behavior - clarification |
|
When I raised the question of semantics of redirectURL,
it was suggested that it can be treated as a regular full-page redirect.
I would like to get some clarification on the behavior.
When a browser submits an XHR and encounters a redirect, the browser would
follow the redirect and send the final response to the script. Since the
redirect target will most likely be outside the consumer, the
consumer cannot include its own response when a redirect happens. As a
result, the (consumer supplied) client side script may not be able to understand
the response.
I see three options:
a. Disallow redirects.
b. Let the consumer handle the redirect, and capture the response. This
would give the consumer a chance to include its own response.
c. Let the consumer send a redirect header to the browser, and comment
that consumer's script may just get the portlet's data/markup in the response,
and it should be ready to deal with it.
I vote for (c). Any comments?
Subbu
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]