diff options
Diffstat (limited to 'stage2')
-rw-r--r-- | stage2/Lib.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/Lib.scala b/stage2/Lib.scala index f769c44..81d36f3 100644 --- a/stage2/Lib.scala +++ b/stage2/Lib.scala @@ -406,7 +406,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( |