[New-bugs-announce] [issue35565] Add detail to an assertion failure message in wsgiref
Raymond Hettinger
report at bugs.python.org
Sat Dec 22 20:19:21 EST 2018
New submission from Raymond Hettinger <raymond.hettinger at 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 <report at bugs.python.org>
<https://bugs.python.org/issue35565>
_______________________________________
More information about the New-bugs-announce
mailing list