[issue22041] http POST request with python 3.3 through web proxy

2014-07-28 Thread Alejandro MJ
Alejandro MJ added the comment: Thanks a lot for your help, as you suggested the problem was because of the method set_tunnel. I've tested the code that you have posted and now works perfectly. I'll keep in mind this for future works. We can conclude that it's not really a bug of Python, so

[issue22041] http POST request with python 3.3 through web proxy

2014-07-25 Thread Alejandro MJ
Alejandro MJ added the comment: Thanks a lot for your help! I've tested it in Linux, Python version 3.3.5 and the message obtained is this: [404 Not Found]. The script is this one (changing of course the ip_address and the proxy_url values): import http.client, urllib.parse data

[issue22041] http POST request with python 3.3 through web proxy

2014-07-25 Thread Alejandro MJ
Alejandro MJ added the comment: I've wrote these sentences on my SUSE, python is installed on path: /usr/local/pr/python computer002:/usr/local/pr/python # patch -p1 --dry-run issue22041_1.patch can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text

[issue22041] http POST request with python 3.3 through web proxy

2014-07-23 Thread Alejandro Mj
Changes by Alejandro Mj witchar...@gmail.com: -- nosy: -AlexMJ ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22041 ___ ___ Python-bugs-list

[issue22041] http POST request with python 3.3 through web proxy

2014-07-22 Thread Alejandro MJ
New submission from Alejandro MJ: I'm trying this specific method with python, in order to use a different ip source, to do a POST request: import http.client, urllib.parse data = urllib.parse.urlencode({'QLastname': 'DIAZ HERNANDEZ', 'QFirstname': 'JAIME'}) headers = {Content-type