diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2016-09-02 11:03:28 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-09-02 11:03:28 -0400 |
| commit | 1bd7df3bd428d60221668bd112e9bff43e53ba58 (patch) | |
| tree | de9479e169a3ff042007c32f507ccc5e1a7ded53 | |
| parent | 857e10fdb17236951546812373a5fe6e3c9bf45f (diff) | |
| parent | ec9349d8158c57b8d2bae2427a9e75e1d590024e (diff) | |
| download | cherrypy-git-8.0.0.tar.gz | |
Merge fixv8.0.0
| -rw-r--r-- | cherrypy/_cpwsgi.py | 2 |
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." |
