galex
02/14/2019, 6:02 AMIllegalArgumentException {message_8yp7un$_0: "should should be greater than write space + end ga… = 9, writeRemaining = 0, endGap = 8, rem+gap = 8", cause_th0jdv$_0: null, name: "IllegalArgumentException", stack: "IllegalArgumentException: should should be greater…8td$_0 (<http://localhost:9000/bundle.js:31435:19>)"}
galex
02/14/2019, 6:09 AMgalex
02/14/2019, 6:11 AMRiccardo Montagnin
02/14/2019, 6:59 AMform-part
body request type. With that you no longer have to process the file and have no limit on its dimensiongalex
02/14/2019, 11:32 AMRiccardo Montagnin
02/14/2019, 1:30 PMContent-Type: multipart/form-data
and had no problem about their sizesgalex
02/14/2019, 6:49 PMRiccardo Montagnin
02/14/2019, 8:11 PMval data: List<PartData> = formData {
// Can append: String, Number, ByteArray and Input.
append("hello", "world")
append("number", 10)
append("ba", byteArrayOf(1, 2, 3, 4))
append("input", inputStream.asInput())
// Allow to set headers to the part:
append("hello", "world", headersOf("X-My-Header" to "MyValue"))
}
galex
02/15/2019, 4:29 AMgalex
02/15/2019, 4:30 AMgalex
02/15/2019, 5:03 AMRiccardo Montagnin
02/15/2019, 10:11 AMgalex
02/19/2019, 9:58 AM