[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Sat Jan 27 00:17:09 UTC 2007


kawas
Fri Jan 26 19:17:09 EST 2007
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/util
In directory dev.open-bio.org:/tmp/cvs-serv2485/Java/src/main/org/biomoby/registry/rdfagent/util

Modified Files:
	SignatureURLConnection.java 
Log Message:
set the user agent for the agent
moby-live/Java/src/main/org/biomoby/registry/rdfagent/util SignatureURLConnection.java,1.14,1.15
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/util/SignatureURLConnection.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/util/SignatureURLConnection.java	2006/10/06 16:39:20	1.14
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/util/SignatureURLConnection.java	2007/01/27 00:17:09	1.15
@@ -59,6 +59,7 @@
 		try {
 			Log.info("Opening a connection to the url");
 			urlConnection = (HttpURLConnection) new URL(url).openConnection();
+			urlConnection.setRequestProperty("User-Agent", "RDFAgent/1.0");
 			urlConnection.setDefaultUseCaches(false);
 			urlConnection.setUseCaches(false);
 




More information about the MOBY-guts mailing list