Page MenuHomePhabricator

Add user-agent header in your requests to VirtualRestService
Closed, ResolvedPublic1 Story Points

Description

Please see T131075#2157510 -- it looks like you can pass the header to VRS and RESTBase will then forward that to Parsoid. We need this information for attributing log requests to specific upstream clients.

Event Timeline

ssastry created this task.Mar 29 2016, 5:20 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 29 2016, 5:20 PM
Jdforrester-WMF triaged this task as High priority.Mar 29 2016, 7:59 PM
Jdforrester-WMF set the point value for this task to 1.

To clarify, is this to forward the user's user agent, or make up our own one for RB requests that get sent from the server-side?

To clarify, is this to forward the user's user agent, or make up our own one for RB requests that get sent from the server-side?

Latter. We are interested in associating parsoid requests with clients that request them (VE/CX/etc.)

Change 280360 had a related patch set uploaded (by Alex Monk):
Set User-Agent in server-side VRS requests to RESTBase/Parsoid

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

Jdforrester-WMF closed this task as Resolved.Mar 31 2016, 8:30 AM
Jdforrester-WMF assigned this task to AlexMonk-WMF.
Jdforrester-WMF removed a project: Patch-For-Review.

Change 280360 merged by jenkins-bot:
Set User-Agent in server-side VRS requests to RESTBase/Parsoid

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