W3C home > Mailing lists > Public > xproc-dev@w3.org > December 2010

p:http-request and HTTP re-directs

From: Philip Fennell <Philip.Fennell@marklogic.com>
Date: Fri, 10 Dec 2010 07:50:33 -0800
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <D20C296D14127D4EBD176AD949D8A75A4734D437@EXCHG-BE.marklogic.com>
When setting the username, password etc in a c:request fragment:

<c:request href="http://localhost:8020" 
    method="GET" detailed="true" status-only="false"
    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?


Philip Fennell

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:07 UTC