Page MenuHomePhabricator

action=raw could use HTTP headers for passing revision info to clients
Closed, DeclinedPublic

Description

Author: nunotavares

Description:
Well, the summary says it all. It could be any arbitrary header, just like:
X-MediaWiki-Revision: xxxx

It should be fairly easy to implement, and I can't see any disadvantage, but
rather some basic support for non-webbased clients - at least while there is no
webapi.


Version: unspecified
Severity: normal

Details

Reference
bz5579

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:11 PM
bzimport set Reference to bz5579.
bzimport added a subscriber: Unknown Object (MLST).

If you want that, use the established API (Special:Export).

nunotavares wrote:

Well, Special:Export doesn't support fetching specific revisions
(action=raw&oldid=xxxx does), and it doesn't signal HTTP 3xx redirects... anyway
I forgot about Special:Export, so I sent another feature req.