https://kotlinlang.org logo
#ktor
Title
# ktor
p

Patrick Doering

01/25/2021, 3:07 PM
Hi, I try to upload a zip file with the ktor client. Every time I get a error back with the message: IllegalArgumentException: Invalid content disposition format My header looks like:
Copy code
Header.add("Content-Disposition", "form-data; name=file; filename*=UTF-8''My.zip");
Any idea whats wrong?
10 Views