diff options
author | Olivier Lamy <olamy@apache.org> | 2012-08-07 23:21:14 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-08-07 23:21:14 +0000 |
commit | 3a3f22c39b1eb63148bb437d6ffb5452f30ef60f (patch) | |
tree | 240e0bdd5185a3aa8b5a30019df9fc73a0c44ae1 /archiva-modules | |
parent | 2b224893bceb711e01e1db308dbc00f7609e25a2 (diff) | |
download | archiva-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')
-rwxr-xr-x | archiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/DefaultWagonFactory.java | 1 |
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 ); |