[Polycasso-commit] SF.net SVN: polycasso:[198] trunk/polycasso/src/com/mebigfatguy/polycasso/ URLFe
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-12-18 04:34:44
|
Revision: 198
http://polycasso.svn.sourceforge.net/polycasso/?rev=198&view=rev
Author: dbrosius
Date: 2009-12-18 04:34:32 +0000 (Fri, 18 Dec 2009)
Log Message:
-----------
javadoc
Modified Paths:
--------------
trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java 2009-12-18 04:33:04 UTC (rev 197)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java 2009-12-18 04:34:32 UTC (rev 198)
@@ -41,6 +41,8 @@
/**
* retrieve arbitrary data found at a specific url
* - either http or file urls
+ * for http requests, sets the user-agent to mozilla to avoid
+ * sites being cranky about a java sniffer
*
* @param url the url to retrieve
* @return a byte array of the content
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|