fix incorrect error check (copy-paste error)
fix StdlibPending SQL syntax error
fix missing content negotiation
fix incorrect variable name
methods without output: return status code 204
valid XML - corresponds to 88f99ff71bd2