Add user-agent header in your requests to VirtualRestService
Open, Needs TriagePublic

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.

ssastry created this task.Mar 29 2016, 5:24 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 29 2016, 5:24 PM
cscott added a comment.EditedApr 19 2016, 9:37 PM

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.

Restricted Application added a subscriber: TerraCodes. · View Herald TranscriptApr 19 2016, 9:37 PM

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.