This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author WildCard65
Recipients WildCard65, berker.peksag, martin.panter, paul.moore, steve.dower, terry.reedy, tim.golden, vstinner, zach.ware
Date 2018-01-05.21:03:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1515186223.68.0.467229070634.issue25095@psf.upfronthosting.co.za>
In-reply-to
Content
I have tried value 0 for "Content-Length" (along with "text/plain" for "Content-Type"), it was when I said I tried both "Content-Length" and "Content-Type", while I haven't tried directly setting "close_connection" in the handler, my solution is based on how "send_error()" works internally, not only that, but send_header is public API (by convention) and the "Connection" header is part of HTTP 1.1 so it should be documented ( reference: https://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html ), so I don't really understand why my initial solution is consider "undocumented logic"
History
Date User Action Args
2018-01-05 21:03:43WildCard65setrecipients: + WildCard65, terry.reedy, paul.moore, vstinner, tim.golden, berker.peksag, martin.panter, zach.ware, steve.dower
2018-01-05 21:03:43WildCard65setmessageid: <1515186223.68.0.467229070634.issue25095@psf.upfronthosting.co.za>
2018-01-05 21:03:43WildCard65linkissue25095 messages
2018-01-05 21:03:43WildCard65create