[issue21890] wsgiref.simple_server sends headers on empty bytes

Robin Schoonover report at bugs.python.org
Thu Jul 3 01:00:36 CEST 2014


Robin Schoonover added the comment:

I agree, the current patch is too permissive.

Both a server I wrote a while ago, and most other "complaint" servers deal with the problem the exact same way as that patch, and that extra permissiveness led to my misinterpretation when analyzing why I had made that original change.

In any case, I've attached an updated patch.

----------
resolution: not a bug -> 
status: closed -> open
title: wsgiref.simple_server doesn't accept empty bytes before start_response is called -> wsgiref.simple_server sends headers on empty bytes
Added file: http://bugs.python.org/file35835/wsgiref-empty-byte-2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21890>
_______________________________________


More information about the Python-bugs-list mailing list