Page MenuHomePhabricator

Add user-agent header in your requests to VirtualRestService
Closed, ResolvedPublic1 Estimated 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

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

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

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