[Mediawiki-api] [Mediawiki-api-announce] BREAKING CHANGE: HTTP 503 status code for maxlag errors

Roan Kattouw roan.kattouw at gmail.com
Thu Jul 16 08:07:12 UTC 2009


2009/7/16 Brad Jorsch <b-jorsch at northwestern.edu>:
> On Wed, Jul 15, 2009 at 11:30:40PM +0200, Roan Kattouw wrote:
>>
>> As of r52190 [1], API maxlag errors (the kind of error you get when
>> you set &maxlag=2 and the maximum slave lag is higher than two
>> seconds) return a HTTP 503 status code rather than a 200, for
>> consistency with index.php (which does the same thing).
>
> I agree with the others, this change should be reverted, as it is an
> arbitrary breaking change that makes things more difficult for API
> clients for consistency with something that is not really related.
>
Because of this and other complaints on the mediawiki-api list, I've
reverted the change in r53353. It never went live on Wikipedia.

Roan Kattouw (Catrope)

_______________________________________________
Mediawiki-api-announce mailing list
Mediawiki-api-announce at lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce



More information about the Mediawiki-api mailing list