We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 704c813 commit e130d3bCopy full SHA for e130d3b
api-client/src/main/kotlin/de/gesellix/docker/remote/api/core/ApiClient.kt
@@ -77,6 +77,7 @@ open class ApiClient(
77
78
protected inline fun <reified T> requestBody(content: T, mediaType: String = JsonMediaType): RequestBody =
79
when {
80
+ content is RequestBody -> content
81
content is File -> content.asRequestBody(
82
mediaType.toMediaTypeOrNull()
83
)
0 commit comments