more fixes to god of fixes

This commit is contained in:
InsanusMokrassar 2021-12-27 17:02:00 +06:00
parent 612cf40b5f
commit 419e7070ee
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,8 @@
* `Ktor`: * `Ktor`:
* `Server`: * `Server`:
* Fixes in `uniloadMultipart` * Fixes in `uniloadMultipart`
* `Client`:
* Fixes in `unimultipart`
* `FSM`: * `FSM`:
* Fixes in `DefaultUpdatableStatesMachine` * Fixes in `DefaultUpdatableStatesMachine`

View File

@ -140,7 +140,7 @@ suspend fun <ResultType> HttpClient.unimultipart(
inputProvider, inputProvider,
Headers.build { Headers.build {
append(HttpHeaders.ContentType, mimetype) append(HttpHeaders.ContentType, mimetype)
append(HttpHeaders.ContentDisposition, "filename=$filename") append(HttpHeaders.ContentDisposition, "filename=\"$filename\"")
dataHeadersBuilder() dataHeadersBuilder()
} }
) )