I don't know off the top of my head how from_client_input works, but wouldn't hurt to do a quick double check that it's gonna kick back the right exception (and subsequently HTTP status code) in the event they passed bad stuff here.