From: Mark Wooding Date: Mon, 28 Mar 2016 22:27:56 +0000 (+0100) Subject: ucgi/: Return useful status codes when things go wrong. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/userv-utils/commitdiff_plain/0cd9d59dfadf1a9abbef4428ff4f90bf32c01bd4?ds=sidebyside;hp=0cd9d59dfadf1a9abbef4428ff4f90bf32c01bd4 ucgi/: Return useful status codes when things go wrong. It's simply wrong for the ucgi machinery to report status 200 OK when it encounters trouble (e.g., the CGI program doesn't actually exist). So report a useful status code as part of `error' or `syserror'. We assume that the latter is always a server-side error; the former might be either, so we must annotate each call as appropriate. ---