Currently everything returns either a 200 or a 500. Fixing this will probably involve at least some improved error handling in the server.