On Sat, 31 Dec 2011 17:40:15 -0800 (PST), Niklas Rosencrantz wrote:
> 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.
Well, it's free software, isn't it?
You may either
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
On Sat, 31 Dec 2011 05:31:14 -0800, Niklas Rosencrantz wrote:
> 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
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
On Sat, 31 Dec 2011 12:04:13 +0200, Serhiy Storchaka wrote:
> 31.12.11 08:40, Steven D'Aprano написав(ла):
>> 'JSON' is already a string. Calling str() on it is a waste of time.
>
> from __future__ import unicode_literals
Fair point. Your correction is noted.
--
Steven
--
http://mail.python.
31.12.11 08:40, Steven D'Aprano написав(ла):
'JSON' is already a string. Calling str() on it is a waste of time.
from __future__ import unicode_literals
--
http://mail.python.org/mailman/listinfo/python-list
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
r/montao/google/appengine/runtime/wsgi.py", line 129, in
_StartResponse
raise InvalidResponseError('headers must be str')
InvalidResponseError: headers must be str
INFO 2011-12-31 04:55:36,484 recording.py:372] Saved; key:
__appstats__:034800, part: 137 bytes, full: 27325 b
On Fri, 30 Dec 2011 20:58:10 -0800, Niklas Rosencrantz wrote:
> 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
Please show the ENTIRE traceback, not just the error message. The
traceba
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 t
10 matches
Mail list logo