p:http-request and HTTP re-directs

When setting the username, password etc in a c:request fragment:

<c:request href="http://localhost:8020" 
    method="GET" detailed="true" status-only="false"
    send-authorization="true" 
    username="foo" password="bar" auth-method="basic"/>

and the response from the service a 301 redirect why would I get a 401 response from the service I was redirected to? After all, I have provided the username/password for that service. XProc processors are required to follow redirects but I've seen nothing in the XProc or HTTP specs that would suggest that this particular behaviour is anything other than a 'feature' of Calabash (0.9.23). 

Have I missed something?


Regards

Philip Fennell
Consultant

Mark Logic Corporation

Received on Friday, 10 December 2010 15:51:14 UTC