Skip to content

Commit

Permalink
Convert GString to string automatically for multipart requests
Browse files Browse the repository at this point in the history
  • Loading branch information
erichelgeson committed Mar 17, 2017
1 parent c139930 commit 1e6ca25
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -382,6 +382,9 @@ class RequestCustomizer {
else if (value instanceof InputStream) {
value = new InputStreamResource(value)
}
else if (value instanceof GString) {
value = value.toString()
}
if( mvm[name] ) {
mvm[name].add value
}
Expand Down

0 comments on commit 1e6ca25

Please sign in to comment.