OWA (Outlook Web Access) with urllib2

Pascal pascal.parent at free.fr
Mon Sep 27 07:38:22 EDT 2004


This is the Python ~ IIS dialogue (with Ethereal / Follow TCP stream):

GET /exchange/ HTTP/1.0
Host: owa.mydomain
User-agent: Python-urllib/2.1

HTTP/1.1 401 Accès refusé
Server: Microsoft-IIS/5.0
Date: Mon, 27 Sep 2004 10:44:28 GMT
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
WWW-Authenticate: Basic realm="owa.mydomain"
Content-Length: 21
Content-Type: text/html

Urllib2 didn't try to send authentification after http 401 error.



More information about the Python-list mailing list