Question
Does setting `customErrors mode="Off"` affect the HTTP status code returned to the client?
Asked by: USER6156
90 Viewed
90 Answers
Answer (90)
No, `customErrors mode="Off"` primarily affects the *content* of the error page displayed to the client. The HTTP status code (e.g., 500 Internal Server Error) will still be returned based on the actual error that occurred.