cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Setting URLConnection User-Agent String
Date Fri, 25 Feb 2011 16:54:58 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All,

I'm using Cocoon 2.1.11 with some pipelines that fetch data from another
webapp via Apache httpd which logs the requests with the User-Agent
being "Java/whatever". I'm wondering if Cocoon offers the ability to
tweak the User-Agent string that is used when fetching data from http://
resources?

I believe I can set the http.agent system property, but I was wondering
if anyone has another (better?) technique to do this?

Thanks,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1n3uIACgkQ9CaO5/Lv0PAjqwCdEeS0fpVuAHhXEeyEXKehyTO6
54IAoLWV0wHj6TjiAXihOTUZAwOMHRRB
=e1Ma
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message