Re: [Zope] HTTP status code 302

2000-12-10 Thread Steve Spicklemire
Hi Hung, No! Urllib does that too! import urllib x = urllib.urlopen('http://user:pass@host:8080/path/to/get') print x.read() -steve > "Hung" == Hung Jung Lu <[EMAIL PROTECTED]> writes: Hung> From: "Steve Spicklemire" <[EMAIL PROTECTED]> >> Did you set a 'Host' header in your r

Re: [Zope] HTTP status code 302

2000-12-10 Thread Oliver Bleutgen
Do you > know > any pointer where I can get info on all the headers? This is the specification for http 1.1 http://www.faqs.org/rfcs/rfc2616.html esp. Section 14 for headers, you'll also find 302 and friends explained in this document. and for more pointers http://www.w3.org/Protocols/ c

Re: [Zope] HTTP status code 302

2000-12-10 Thread Hung Jung Lu
From: "Steve Spicklemire" <[EMAIL PROTECTED]> >Did you set a 'Host' header in your request? Is > the request going straight to ZServer, or through > Apache? (Also... do you have a SiteRoot?) These can > all affect how the request is handled by the server... Ahh... that's it. Thank you very mu

Re: [Zope] HTTP status code 302

2000-12-10 Thread Steve Spicklemire
Hi Hung Jung, Did you set a 'Host' header in your request? Is the request going straight to ZServer, or through Apache? (Also... do you have a SiteRoot?) These can all affect how the request is handled by the server... It woould be interesting to try urllib, rather than httplib since it hand