summaryrefslogtreecommitdiff
path: root/docs/whatsnew-1.3.rst
diff options
context:
space:
mode:
authormichr <lapython-gh@webhippo.net>2011-12-14 16:46:00 -0800
committermichr <lapython-gh@webhippo.net>2011-12-14 16:46:00 -0800
commit6747aa8072b645a302a218d36283045c2a8381c6 (patch)
tree99651b99eabee79905288e33c96f19c1f6807067 /docs/whatsnew-1.3.rst
parenta8e03b7efab6c8845fa8b21b4b8d8e628e8e77e5 (diff)
downloadpyramid-6747aa8072b645a302a218d36283045c2a8381c6.tar.gz
pyramid-6747aa8072b645a302a218d36283045c2a8381c6.tar.bz2
pyramid-6747aa8072b645a302a218d36283045c2a8381c6.zip
Added in a warning in whats new 1.3 about wsgiref beign more strict about returning string headers where as paste.httpserver converted them implicitly.
Diffstat (limited to 'docs/whatsnew-1.3.rst')
-rw-r--r--docs/whatsnew-1.3.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/whatsnew-1.3.rst b/docs/whatsnew-1.3.rst
index 608db74cd..28c161ad0 100644
--- a/docs/whatsnew-1.3.rst
+++ b/docs/whatsnew-1.3.rst
@@ -101,6 +101,16 @@ actually recommended if you rely on proxying from Apache or Nginx to a
``pserve`` -invoked application. **The wsgiref server is not a production
quality server.** See :ref:`alternate_wsgi_server` for more information.
+.. warning::
+
+ Previously, paste.httpserver "helped" by converting header values that weren't
+ strings to strings. The wsgiref server, on the other hand implements the spec
+ more fully. This specifically may affect you if you are modifying headers on
+ your response. The following error might be an indicator of this problem:
+ **AssertionError: Header values must be strings, please check the type of
+ the header being returned.** A common case would be returning unicode headers
+ instead of string headers.
+
A new :mod:`pyramid.compat` module was added which provides Python 2/3
straddling support for Pyramid add-ons and development environments.