Make the API maxlag check send the same "Retry-After" and "X-Database-Lag" headers...
authorIlmari Karonen <vyznev@users.mediawiki.org>
Wed, 1 Oct 2008 21:38:13 +0000 (21:38 +0000)
committerIlmari Karonen <vyznev@users.mediawiki.org>
Wed, 1 Oct 2008 21:38:13 +0000 (21:38 +0000)
commit69c1dd9e7ee8d1d7d24135d99e0135c8277b9194
tree42e70d84ba74ccddbc2016e24543e4a30dc09dd0
parent612e4dcad082f0805be52f011f43899f5e8d5d5b
Make the API maxlag check send the same "Retry-After" and "X-Database-Lag" headers as wfMaxlagError() does.
The HTTP status code is still different, I can see arguments for having it either way.
RELEASE-NOTES
includes/api/ApiMain.php