Fix problem when uploading file using form-data in jersey2 client (#12563)

* Fix problem when uploading file using form-data in jersey2 client

* Remove serialization that is not required for most cases

* Small fix
This commit is contained in:
Jean-François Côté
2022-06-10 21:08:51 -04:00
committed by GitHub
parent 14aef2c93d
commit 45f430f5c8
5 changed files with 9 additions and 4 deletions

View File

@@ -1069,7 +1069,7 @@ public class ApiClient extends JavaTimeFormatter {
queryParams,
allHeaderParams,
cookieParams,
serializeToString(body, formParams, contentType, isBodyNullable),
null,
method,
target.getUri());