[TYPO3-core] RFC #11865: AJAX error should send HTTP status 500

Martin Kutschker masi-no at spam-typo3.org
Thu Sep 3 21:09:10 CEST 2009


Martin Kutschker schrieb:
> Hi!
> 
> This is a patch request.
> 
> Branch: trunk
> 
> Problem: When an AJAX call fails the error is reported with XML but
> without setting a different HTTP status. This makes it hard for the
> calling client code to detect the error condition.
> 
> Solution: Send the HTTP status 500 when an error occured.

Committed using the constant of t3lib_div (rev 5887)

Masi


More information about the TYPO3-team-core mailing list