If API request returns an empty response body (even with status code 200), ApiSandbox says An error occurred while loading the API query response: HTTP error: undefined. which is not exactly what happened.
Description
Description
Details
Details
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/core | master | +13 -2 | ApiSandbox: Work around mw.Api treating an empty response as failure |
Event Timeline
Comment Actions
This is actually something of a bug in mw.Api, it considers a successful empty response as a failure.
Comment Actions
Change 280217 had a related patch set uploaded (by Anomie):
ApiSandbox: Work around mw.Api treating an empty response as failure
Comment Actions
Change 280217 merged by jenkins-bot:
ApiSandbox: Work around mw.Api treating an empty response as failure