add FIXME

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370590 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-08-07 23:21:14 +00:00
parent 2b224893bc
commit 3a3f22c39b
1 changed files with 1 additions and 0 deletions

View File

@ -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 );