summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base/archiva-proxy-common/src
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-08-07 23:21:14 +0000
committerOlivier Lamy <olamy@apache.org>2012-08-07 23:21:14 +0000
commit3a3f22c39b1eb63148bb437d6ffb5452f30ef60f (patch)
tree240e0bdd5185a3aa8b5a30019df9fc73a0c44ae1 /archiva-modules/archiva-base/archiva-proxy-common/src
parent2b224893bceb711e01e1db308dbc00f7609e25a2 (diff)
downloadarchiva-3a3f22c39b1eb63148bb437d6ffb5452f30ef60f.tar.gz
archiva-3a3f22c39b1eb63148bb437d6ffb5452f30ef60f.zip
add FIXME
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370590 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-proxy-common/src')
-rwxr-xr-xarchiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/DefaultWagonFactory.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/archiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/DefaultWagonFactory.java b/archiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/DefaultWagonFactory.java
index 629eda0e6..1c6ccbb76 100755
--- a/archiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/DefaultWagonFactory.java
+++ b/archiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/DefaultWagonFactory.java
@@ -82,6 +82,7 @@ public class DefaultWagonFactory
{
headers = new Properties();
}
+ // FIXME make this configurable !!
headers.put( "User-Agent", "Java" );
Method setHttpHeaders = clazz.getMethod( "setHttpHeaders", new Class[]{ Properties.class } );
setHttpHeaders.invoke( wagon, headers );