Made easier for subclasses to customize the response code in case of
rewrite failed.