Details
Description
If a POST causes an unexpected exception and no status code has been set on the HtmlResponse object, then the default status code should be 500 to indicate that there was an error. Previously, if no status code was set on the HtmlResponse object, the response was assumed to be successful and returned a 200 status code.