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 6847606 commit 2b42bf4Copy full SHA for 2b42bf4
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