diff options
Diffstat (limited to 'plugins/sonatype-release/src/sonatype/HttpUtils.scala')
-rw-r--r-- | plugins/sonatype-release/src/sonatype/HttpUtils.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonatype-release/src/sonatype/HttpUtils.scala b/plugins/sonatype-release/src/sonatype/HttpUtils.scala index 9d23744..737fea9 100644 --- a/plugins/sonatype-release/src/sonatype/HttpUtils.scala +++ b/plugins/sonatype-release/src/sonatype/HttpUtils.scala @@ -21,7 +21,7 @@ private[sonatype] object HttpUtils { conn.setReadTimeout(60000) // 1 minute conn.setConnectTimeout(30000) // 30 seconds - headers foreach { case (k,v) => + (Map("User-Agent" -> "CBT build tool") ++ headers) foreach { case (k,v) => conn.setRequestProperty(k, v) } conn.setRequestMethod(method) |