1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-25 16:07:12 -07:00

Extra log.

This commit is contained in:
Cedric Beust 2015-10-14 00:21:54 -07:00
parent e8a91337e5
commit 6b017d17e6

View file

@ -50,7 +50,6 @@ public class Http {
public fun uploadFile(user: String?, password: String?, url: String, file: File,
success: (Response) -> Unit,
error: (Response) -> Unit) {
log(2, "Uploading ${file} to ${url}")
val request = builder(user, password)
.url(url)
.put(RequestBody.create(MEDIA_TYPE_BINARY, file))