Re: HTTP GET Explodes...

2006-09-24 Thread Pete
> > > > Python 2.4.3 (#1, Jun 13 2006, 11:46:08) > > > > [GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2 > > > > Type "help", "copyright", "credits" or "license" for more information. > > > > >>> import httplib > > > > >>> conn = httplib.HTTPConnection("www.python.org") > > > > >>> conn.request("G

Re: HTTP GET Explodes...

2006-09-24 Thread MonkeeSage
Pete wrote: > So, I looked at my search path under the account that was experiencing > the problem. That wasn't it... Then I'm thinking there's an > environmental variable causing this. Too many to work right now. Will > investigate later. You can see all environment variables with the declare com

Re: HTTP GET Explodes...

2006-09-24 Thread John Machin
Pete wrote: > > > Python 2.4.3 (#1, Jun 13 2006, 11:46:08) > > > [GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2 > > > Type "help", "copyright", "credits" or "license" for more information. > > > >>> import httplib > > > >>> conn = httplib.HTTPConnection("www.python.org") > > > >>> conn.request("

Re: HTTP GET Explodes...

2006-09-23 Thread Pete
> > Python 2.4.3 (#1, Jun 13 2006, 11:46:08) > > [GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2 > > Type "help", "copyright", "credits" or "license" for more information. > > >>> import httplib > > >>> conn = httplib.HTTPConnection("www.python.org") > > >>> conn.request("GET", "/index.html") > >

Re: HTTP GET Explodes...

2006-09-23 Thread Pete
> > Python 2.4.3 (#1, Jun 13 2006, 11:46:08) > > [GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2 > > Type "help", "copyright", "credits" or "license" for more information. > > >>> import httplib > > >>> conn = httplib.HTTPConnection("www.python.org") > > >>> conn.request("GET", "/index.html") > >

Re: HTTP GET Explodes...

2006-09-23 Thread John Machin
Pete wrote: > John Machin wrote: > > Pete wrote: > > > Fade in to episode II... > > > > > > > ... > > > > This is compiling a *constant* regular expression, and works OK on the > > > > Windows distribution of Python 2.4.3 : > > > > > > H. Here's the version information stuff: > > > > > > Pytho

Re: HTTP GET Explodes...

2006-09-23 Thread Pete
John Machin wrote: > Pete wrote: > > Fade in to episode II... > > > > > ... > > > This is compiling a *constant* regular expression, and works OK on the > > > Windows distribution of Python 2.4.3 : > > > > H. Here's the version information stuff: > > > > Python 2.4.2 (#1, Feb 12 2006, 03:59:46)

Re: HTTP GET Explodes...

2006-09-23 Thread John Machin
Pete wrote: > Fade in to episode II... > > > ... > > This is compiling a *constant* regular expression, and works OK on the > > Windows distribution of Python 2.4.3 : > > H. Here's the version information stuff: > > Python 2.4.2 (#1, Feb 12 2006, 03:59:46) > [GCC 4.1.0 20060210 (Red Hat 4.1.0-

Re: HTTP GET Explodes...

2006-09-23 Thread Pete
> ... > I'm going to upgrade Python and see if that has any effect... > ... I upgraded Python, it had an effect, but not a positive one. My interactivity is below. Where is the "Hello World." text coming from? Python 2.4.3 (#1, Jun 13 2006, 11:46:08) [GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linu

Re: HTTP GET Explodes...

2006-09-23 Thread Pete
Fade in to episode II... > ... > This is compiling a *constant* regular expression, and works OK on the > Windows distribution of Python 2.4.3 : H. Here's the version information stuff: Python 2.4.2 (#1, Feb 12 2006, 03:59:46) [GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)] on linux2 I'm going to

Re: HTTP GET Explodes...

2006-09-23 Thread John Machin
Pete wrote: > I was running the HTTP GET example at > http://www.python.org/doc/current/lib/httplib-examples.html and ran > into a bit of trouble... > > >>> import httplib # This works. > >>> conn = httplib.HTTPConnection("www.python.org") # This works. > >>> conn.request("GET", "/index.html")