Removed Content Type to WriteString and added a default behavior when the error returned by a handler is not an HTTPError