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. -Adam On Tue, Apr 1, 2014 at 3:28 PM, Yuvi Panda <[email protected]> wrote: > Hello! > > While working on https://gerrit.wikimedia.org/r/#/c/123117/ I > 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 > that says: > > agent - When setting type to message, include a source > agent value as well > Default: > > 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? > > Thanks! > > > -- > Yuvi Panda T > http://yuvi.in/blog >
_______________________________________________ Mobile-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mobile-l
