summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/src/basiclayout
diff options
context:
space:
mode:
authorBrian Sutherland <brian@vanguardistas.net>2011-10-11 11:14:49 +0200
committerBrian Sutherland <brian@vanguardistas.net>2011-10-11 11:14:49 +0200
commitc3c0bea60cbb543a75fd4f18334a8d99def65d15 (patch)
tree4b75e3c8ebdd7f7fb7c577975035932a76278ba5 /docs/tutorials/wiki2/src/basiclayout
parenta8b272f130e92847538a5145e7fd119228854510 (diff)
downloadpyramid-c3c0bea60cbb543a75fd4f18334a8d99def65d15.tar.gz
pyramid-c3c0bea60cbb543a75fd4f18334a8d99def65d15.tar.bz2
pyramid-c3c0bea60cbb543a75fd4f18334a8d99def65d15.zip
Convert unicode tokens to 'str'
This was resulting in unicode cookie values (and thus headers) on Python 2 causing mod_wsgi to complain: TypeError: expected string object for header value PEP 3333 also says: "Native" strings (which are always implemented using the type named str) that are used for request/response headers and metadata So mod_wsgi is right to complain about unicode headers and Pyramid is wrong to send them.
Diffstat (limited to 'docs/tutorials/wiki2/src/basiclayout')
0 files changed, 0 insertions, 0 deletions