Hi all!

I want to do a 303 redirect, to satisfy the httpRange-14 TAG finding, with its 
popular form http://www.w3.org/TR/cooluris/#r303gendocument

I was hoping something like this might work:

      <map:match pattern="topic/*">
        <map:redirect-to uri="{request:contextPath}/sparql?query=DESCRIBE &lt;
{request:requestUri}&gt;"/>
        <map:serialize status-code="303"/>
      </map:match>

where the URI needs to be the whole thing, including the hostname and all. I 
guess that the latter can be fixed some way by concatenating some parameters. 

And I hope the 303 would be fixed by the <map:serialize status-code="303"/>
but it doesn't, it does a 302. 

Is there a simple way to achieve this? 

If no simple way, what would the difficult way be?

Kind regards 

Kjetil Kjernsmo
-- 
Senior Knowledge Engineer
Direct: +47 6783 1136 | Mobile: +47 986 48 234
Email: [EMAIL PROTECTED]   
Web: http://www.computas.com/

|  SHARE YOUR KNOWLEDGE  |

Computas AS  Vollsveien 9, PO Box 482, N-1327 Lysaker | Phone:+47 6783 1000 | 
Fax:+47 6783 1001


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to