Oops, just saw this email. On a separate thread I asked Yuri to add to the
code review as well, which I've responded to already.
As I recall, we added the 'agent' field to allow for the case of the UA not
being settable by framework libs, plus to allow for the ability to change
the object-relationship aspects of the /response/ for the consuming 'agent'
without being dependent strictly on the User-Agent.
On Tue, Apr 1, 2014 at 3:28 PM, Yuvi Panda <yuvipanda(a)gmail.com> wrote:
While working on https://gerrit.wikimedia.org/r/#/c/123117/
encountered the parameter 'agent' in action=zeroconfig API call, which
is part of the extension providing Wikipedia Zero. I was trying to
figure out what it does, and the most I got was this documentation
agent - When setting type to message, include a source
agent value as well
which is totally unclear :)
Can someone who works on Zero stuff clarify? Also what is the default
value? Is it the current user-agent? If not, why not?
Yuvi Panda T