[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header
report at bugs.python.org
Sun Nov 21 16:50:47 CET 2010
Senthil Kumaran <orsenthil at gmail.com> added the comment:
On Sun, Nov 21, 2010 at 03:15:06PM +0000, R. David Murray wrote:
> Senthil, I didn't clearly express my concern about
> send_response_only. It doesn't look to me like, with buffering in
> place, that it *should* write directly, it looks to me like it
> should write to the buffer.
Correct. Now that I re-looked at the code, keeping your above
statement in mind", I tend to agree with you and notice the problem. I
think, the headers_buffer should be moved higher up in the class so
that it buffer the headers from all these methods which atm write
directly to the output stream.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list