[Zope] auth info in RESPONSE.redirect

Florent Guillaume fg@nuxeo.com
Thu, 6 Jun 2002 16:30:54 +0000 (UTC)


No. RESPONSE.redirect instructs the browser, using a Location header, to
try another URL. There is no way in the HTTP protocol to instruct it to
use a specific authentication.

Florent

Aseem Mohanty  <aseem@neurobehavioralsystems.com> wrote:
> Hi,
> 
> Is there any way to send the authorisation information gotten by 
> something like :
> 
> ac = encodestring('%s:%s' % (username, password))
> auth = 'Basic %s' % ac
> 
> alongwith a RESPONSE.redirect('url') where url is a protected resource, 
> so that the validation
> does not pop up a username/password box and uses the suth info provided.
> 
> TIA.
> AM
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com