New submission from Raymond Hettinger <raymond.hettin...@gmail.com>:

On line 236 in Lib/wsgiref/handlers.py, we get the assertion message, 
"Hop-by-hop headers not allowed".   

That message should should show the *name* and *value* that triggered the 
failure.  Otherwise, it is difficult to know which header caused the problem 
(in my case, it was Connection: close).

----------
assignee: cheryl.sabella
components: Library (Lib)
keywords: easy
messages: 332378
nosy: cheryl.sabella, rhettinger
priority: normal
severity: normal
status: open
title: Add detail to an assertion failure message in wsgiref
type: enhancement
versions: Python 3.7, Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35565>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to