We've added support for a new header in RESTBase in T121823 - Api-User-Agent for better monitoring/understanding of the API consumers, so VisualEditor should identify itself when talking to RESTBase
Description
Description
Details
Details
Subject | Repo | Branch | Lines /- | |
---|---|---|---|---|
Set Api-User-Agent in requests to RESTBase/Parsoid | mediawiki/extensions/VisualEditor | master | 11 -5 |
Related Objects
Related Objects
Event Timeline
Comment Actions
We're currently (since T131171: Add user-agent header in your requests to VirtualRestService) setting the User-Agent (to VisualEditor-MediaWiki/1.28.0-wmf.23 or whatever) in the PHP side, but we don't in JS-land; I guess you want it set in both places?
Comment Actions
Change 318312 had a related patch set uploaded (by Jforrester):
Set Api-User-Agent in requests to RESTBase/Parsoid
Comment Actions
Change 318312 merged by jenkins-bot:
Set Api-User-Agent in requests to RESTBase/Parsoid