MultipartRequestCallFactory improvements

This commit is contained in:
InsanusMokrassar committed 2021-09-08 20:05:53 +06:00
1 parent 3a61b522ab
commit 5d6ba0f59e
2 files changed
+4 -1

No files matched your search

@@ -24,7 +24,7 @@ class MultipartRequestCallFactory : AbstractRequestCallFactory() {
is MultipartFile -> appendInput(
key,
Headers.build {
append(HttpHeaders.ContentDisposition, "filename=${value.fileId}")
append(HttpHeaders.ContentDisposition, "filename=${value.filename}")
},
block = value.file::input
)