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

Alejandro MJ report at bugs.python.org
Fri Jul 25 13:57:44 CEST 2014


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 leading up to this was:
--------------------------
|diff -r 5d70ac83d104 Lib/http/client.py
|--- a/Lib/http/client.py       Thu Jul 24 12:44:07 2014 +0200
|+++ b/Lib/http/client.py       Thu Jul 24 16:34:46 2014 -0700
--------------------------
File to patch: /usr/local/pr/python/lib/python3.3/http/client.py
patching file /usr/local/pr/python/lib/python3.3/http/client.py
Hunk #1 FAILED at 835.
1 out of 1 hunk FAILED -- saving rejects to file /usr/local/pr/python/lib/python3.3/http/client.py.rej
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r 5d70ac83d104 Lib/test/test_httplib.py
|--- a/Lib/test/test_httplib.py Thu Jul 24 12:44:07 2014 +0200
|+++ b/Lib/test/test_httplib.py Thu Jul 24 16:34:46 2014 -0700
--------------------------
File to patch: /usr/local/pr/python/lib/python3.3/test/test_httplib.py
patching file /usr/local/pr/python/lib/python3.3/test/test_httplib.py
Hunk #1 FAILED at 1235.
1 out of 1 hunk FAILED -- saving rejects to file /usr/local/pr/python/lib/python3.3/test/test_httplib.py.rej
computer002:/usr/local/pr/python #
 
What am I doing wrong?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22041>
_______________________________________


More information about the Python-bugs-list mailing list