Thanks for the replies here. I will have patience but this bug is blocking my
integration efforts. I tried logging the TCP packets with tcpdump and nothing
special appeared.
Niklas
--
http://mail.python.org/mailman/listinfo/python-list
I'm still no further to reaching a solution and my efforts of logging the
headers didn't produce anything. I'm certain that it's upgrading from ptyhon
2.5 to python 2.7 that causes this since the GAE SDK uses WSGI instead of CGI
now. Any idea about my problem?
Thank you
--
http://mail.python.o
I can log the headers and it seems that they are strings:
INFO 2011-12-31 08:43:03,286 paypal.py:143] headers:
{'X-PAYPAL-REQUEST-DATA-FORMAT': 'JSON', 'X-PAYPAL-SECURITY-PASSWORD':
'1324348659', 'X-PAYPAL-RESPONSE-DATA-FORMAT': 'JSON',
'X-PAYPAL-SECURITY-SIGNATURE':
'Al6H7Bq3kp4bKFht2fR-p
Thank you for the reply. I had the same error message before and it was
resolved when I removed a casting of a header value from unicode to str. Now in
this case I can't see where that happens or what causes the error. The full
trace I'm experiencing now is
File "/media/Lexar/montao/google/ap
I'm upgrading from python 2.5 to python 2.7 and then I'm starting to get this
error:
InvalidResponseError: headers must be str
I think it is because somewhere my HTTP headers are cast to unicode instead of
string but I can't find where in the code? The example code I'm trying to
upgrade to pyt
I modularize code for a webapp and I want to know what python makes that a need
to define an argument called self? Here's some code where I'm modularizing a
recaptcha test to a function and the I must add the parameter "self" to the
function is_submitter_human:
class A(BaseHandler, blobsto