Page MenuHomePhabricator

Summary: stop responding with 204s
Closed, ResolvedPublic

Description

The apps are not prepared to handle 204s as defined in the summary response spec (T186933), so they should be changed to 200s with empty extracts per discussion there.

https://www.mediawiki.org/wiki/Page_Previews/API_Specification

Event Timeline

Mholloway triaged this task as High priority.

As is, this task is worded precisely but I just want to be clear: let's respond with an HTTP 200 OK and a standard request body for a valid response with an empty extract property.

Change 409948 had a related patch set uploaded (by Mholloway; owner: Mholloway):
[mediawiki/services/mobileapps@master] Summary: Send 200s with empty extracts rather than 204s

https://gerrit.wikimedia.org/r/409948

Change 409948 merged by jenkins-bot:
[mediawiki/services/mobileapps@master] Summary: Send 200s with empty extracts rather than 204s

https://gerrit.wikimedia.org/r/409948

Mholloway closed this task as Resolved.