Does setting `customErrors mode="Off"` affect the HTTP status code returned to the client?

Responsive Ad Header

Question

Grade: Education Subject: Support
Does setting `customErrors mode="Off"` affect the HTTP status code returned to the client?
Asked by:
90 Viewed 90 Answers

Answer (90)

Best Answer
(223)
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.