Hi, since I reworked how http_write_reply() works a bit, I will add another patch prior to adding the error codes. The patch exposes various options to customize HTTP replies. These are used by http_write_reply(). Regards, Stephan