summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-09-02 11:03:28 -0400
committerJason R. Coombs <jaraco@jaraco.com>2016-09-02 11:03:28 -0400
commit1bd7df3bd428d60221668bd112e9bff43e53ba58 (patch)
treede9479e169a3ff042007c32f507ccc5e1a7ded53
parent857e10fdb17236951546812373a5fe6e3c9bf45f (diff)
parentec9349d8158c57b8d2bae2427a9e75e1d590024e (diff)
downloadcherrypy-git-8.0.0.tar.gz
Merge fixv8.0.0
-rw-r--r--cherrypy/_cpwsgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/_cpwsgi.py b/cherrypy/_cpwsgi.py
index faf7d370..29543d92 100644
--- a/cherrypy/_cpwsgi.py
+++ b/cherrypy/_cpwsgi.py
@@ -254,7 +254,7 @@ class AppResponse(object):
for k, v in r.header_list:
if not isinstance(k, bytes):
tmpl = "response.header_list key %r is not a byte string."
- raise TypeError(tmpl % v)
+ raise TypeError(tmpl % k)
if not isinstance(v, bytes):
tmpl = (
"response.header_list value %r is not a byte string."