Page MenuHomePhabricator

Add user-agent header in your requests to VirtualRestService
Closed, ResolvedPublic

Description

If OCG uses VRS, please see T131075#2157510 -- it looks like you can pass the header to VRS and RESTBase will then forward that to Parsoid. In any case, please make sure you set the user-agent header in all your requests. We need this information for attributing log requests to specific upstream clients.

Event Timeline

Should be there already, since Sep 2 2015: 8d8cd3ec79367fa086a203768971e5aaa26811a8

Need to confirm that this code is correctly working and user-agent is being passed through.

As already announced in Tech News, OfflineContentGenerator (OCG) will not be used anymore after October 1st, 2017 on Wikimedia sites. OCG will be replaced by Electron. You can read more on mediawiki.org.