[issue21890] wsgiref.simple_server sends headers on empty bytes

2016-05-06 Thread Berker Peksag

Changes by Berker Peksag :


--
nosy: +berker.peksag
stage:  -> patch review
versions: +Python 2.7, Python 3.5, Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21890] wsgiref.simple_server sends headers on empty bytes

2014-07-02 Thread Robin Schoonover

Changes by Robin Schoonover :


Added file: http://bugs.python.org/file35836/wsgiref-empty-byte-3.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21890] wsgiref.simple_server sends headers on empty bytes

2014-07-02 Thread Robin Schoonover

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com