[issue5072] urllib.open sends full URL after GET command instead of local path

2009-02-18 Thread Daniel Diniz
Changes by Daniel Diniz : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue5072] urllib.open sends full URL after GET command instead of local path

2009-02-17 Thread Senthil
Senthil added the comment: Yup, This should be closed too. Thanks. ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue5072] urllib.open sends full URL after GET command instead of local path

2009-02-17 Thread Daniel Diniz
Changes by Daniel Diniz : -- priority: -> low status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue5072] urllib.open sends full URL after GET command instead of local path

2009-02-12 Thread Daniel Diniz
Daniel Diniz added the comment: Anyone against closing this as "works for me"? -- keywords: +patch nosy: +ajaksu2, orsenthil stage: -> test needed versions: +Python 2.6 -Python 2.5 ___ Python tracker _

[issue5072] urllib.open sends full URL after GET command instead of local path

2009-01-27 Thread Gabriel Genellina
Gabriel Genellina added the comment: > > Do you have an HTTP proxy? running at the *same* port? > (!) > > I dont understand this since *I already said* that *I > accessed* my Trac > environment using my web browser (Opera 9.63, I dont know > whether this > is relevant at all ... ), *I sent yo

[issue5072] urllib.open sends full URL after GET command instead of local path

2009-01-27 Thread Olemis Lang
Olemis Lang added the comment: > Quoting Antoine Pitrou ... > I suppose 172.18.2.7:3128 is the address:port of the your proxy, right? Yes ... > In which case, urllib seems to do the right thing. When talking to an HTTP proxy, requests are of the form "GET http://site.com/path";, rather than

[issue5072] urllib.open sends full URL after GET command instead of local path

2009-01-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: I suppose 172.18.2.7:3128 is the address:port of the your proxy, right? In which case, urllib seems to do the right thing. When talking to an HTTP proxy, requests are of the form "GET http://site.com/path";, rather than "GET /path". It's up to the proxy to strip

[issue5072] urllib.open sends full URL after GET command instead of local path

2009-01-27 Thread Olemis Lang
Olemis Lang added the comment: Actually I am using a proxy hosted in some other machine (i.e. not my PC ... sorry, I didnt mention :S ...) I «debugged» urllib and, when branching at this point (see below ;) in URLopener.open_http : {{{ #!python # urllib,py def open_http(self, url, data=

[issue5072] urllib.open sends full URL after GET command instead of local path

2009-01-26 Thread Gabriel Genellina
Gabriel Genellina added the comment: I could not reproduce this issue neither with Python 2.6 nor 2.5.2 If I print host and selector near line 313, I get 'localhost:8000' and '/trac-dev', the expected results. Do you have an HTTP proxy? running at the *same* port? (!) -- nosy: +gagenel

[issue5072] urllib.open sends full URL after GET command instead of local path

2009-01-26 Thread Olemis Lang
Olemis Lang added the comment: Ooops ... sorry, remove the print statement. The patch is as follows : {{{ #!diff --- /usr/lib/python2.5/urllib.py2008-07-31 13:40:40.0 -0500 +++ /media/urllib_unix.py 2009-01-26 09:48:54.0 -0500 @@ -270,6 +270,7 @@ def open_http

[issue5072] urllib.open sends full URL after GET command instead of local path

2009-01-26 Thread Olemis Lang
New submission from Olemis Lang : Hello ... The first thing I have to say is that I searched the open issues and I found nothing similar to what I am going to report hereinafter. If this ticket is duplicate , I apologize ... Yesterday I was testing how to access the wiki pages in a Trac [1]