Message251054
The proposed patch changes the code to 500 if the code is invalid (rather than raising an exception as I initially assumed).
I would be inclined to leave send_response() without any extra error checking or handling, unless this is a common problem and there is a real need for it. Although I reckon it might be nice to have a generic (higher-level) exception handler for the HTTP server that responds with “500 Internal server error” if possible. |
|
Date |
User |
Action |
Args |
2015-09-19 06:28:46 | martin.panter | set | recipients:
+ martin.panter, orsenthil, karlcow, berker.peksag, yselivanov, dmi.baranov |
2015-09-19 06:28:46 | martin.panter | set | messageid: <1442644126.54.0.433410052831.issue17319@psf.upfronthosting.co.za> |
2015-09-19 06:28:46 | martin.panter | link | issue17319 messages |
2015-09-19 06:28:46 | martin.panter | create | |
|