aboutsummaryrefslogtreecommitdiff
path: root/stage2/Lib.scala
diff options
context:
space:
mode:
Diffstat (limited to 'stage2/Lib.scala')
-rw-r--r--stage2/Lib.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/Lib.scala b/stage2/Lib.scala
index a060ac6..b65af2d 100644
--- a/stage2/Lib.scala
+++ b/stage2/Lib.scala
@@ -394,7 +394,7 @@ final class Lib(logger: Logger) extends Stage1Lib(logger) with Scaffold{
import java.io._
val url = baseUrl ++ fileName
System.err.println(blue("uploading ") ++ url.toString)
- val httpCon = url.openConnection.asInstanceOf[HttpURLConnection]
+ val httpCon = Stage0Lib.openConnectionConsideringProxy(url)
httpCon.setDoOutput(true)
httpCon.setRequestMethod("PUT")
credentials.foreach(