[OGo-Developer] Adding a user agent
Adam Tauno Williams
developer@opengroupware.org
Fri, 29 Jun 2007 10:55:27 -0400
--=-PLxbf7qoKVabnPsBLIuB
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Fri, 2007-06-29 at 15:53 +0200, Helge Hess wrote:
> On 29.06.2007, at 15:45, Adam Tauno Williams wrote:
> > So I went searching on how to define a user-agent, and think I =20
> > found it
> > - add it to sope/sope-appserver/NGObjWeb/WEClientCapabilities.m
> > Is this the correct/complete way to do this?
> Yes. You might want to check the various methods of the cap object. =20
> (eg -isXmlRpcUserAgent).
Yep, I added a -
if (self->browser =3D=3D WEUA_PEAR_XMLRPC) return YES;
- to (BOOL)isXmlRpcClient; that is in the patch.
I didn't find a isXmlRpcUserAgent anywhere
--=-PLxbf7qoKVabnPsBLIuB
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQBGhR1fLRePpNle04MRApz6AJ9aZMlP/E7DpIOxESFZJDWvYLlZvwCfWLKF
IOBSxX9pRH+CTaSSy5rvgQI=
=m9WM
-----END PGP SIGNATURE-----
--=-PLxbf7qoKVabnPsBLIuB--