|
|
@ -29,10 +29,7 @@ val cookieJar by lazy { |
|
|
|
val cookieBuilder = StringBuilder() |
|
|
|
val cookieBuilder = StringBuilder() |
|
|
|
cookies.forEach { |
|
|
|
cookies.forEach { |
|
|
|
if (it.value != "") { |
|
|
|
if (it.value != "") { |
|
|
|
cookieBuilder.append(it.name) |
|
|
|
cookieBuilder.append(it.name).append("=").append(it.value).append(";") |
|
|
|
.append("=") |
|
|
|
|
|
|
|
.append(it.value) |
|
|
|
|
|
|
|
.append(";") |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
cookieBuilder.deleteCharAt(cookieBuilder.lastIndexOf(";")) |
|
|
|
cookieBuilder.deleteCharAt(cookieBuilder.lastIndexOf(";")) |
|
|
|