Aparajita Fishman wrote:
While debugging an issue with HTTP 400 error responses, I noticed that using a named 
error page like 404.html returns a 200 response. Error pages shown when the "http 
error page" setting is set to a page also return 200.The built-in Active4D v4 error 
page does return the correct code, i.e. 404 instead of 200.
> > Is there a setting somewhere that I am missing or is this just the way it is?

200 is returned because IE refuses to display a custom error page when the 
status code is not 200.

We all love IE, right?  :-)

I have a situation where I *must* return a 400. I use "set response code". But if there is a custom error page, 200 is instead returned. This is not a big deal since a 400 is a relatively rare error -- although just 3 days ago I got it for the first time -- but it would be great to have the best of both worlds: a custom error page and a 400 response.

Is it possible in Active4D code to suppress the custom error page and therefore generate the 400?

--

Will

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to