[CentralOH] Web Server Response

Mark Erbaugh mark at microenh.com
Mon Aug 11 20:00:38 CEST 2008

I'm working on a Python web server that allow users to update a database
using a browser.  It's possible that the user could submit a database
update that is disallowed by the database server, i.e. deleting a row
that is a referenced by a foreign key or inserting a duplicate key.

Is there an HTTP status code that can be used for the response?  I could
use 400 (bad request), but is there a better choice?


More information about the CentralOH mailing list