From f141d4df96a0cb0e8beebbb3e969f3e1be16db8a Mon Sep 17 00:00:00 2001 From: Jesse Wilson Date: Fri, 30 May 2025 17:27:36 -0400 Subject: [PATCH] Promote FileDescriptor.toRequestBody to a stable API (#8830) --- okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt b/okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt index 738321253..cf2219d83 100644 --- a/okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt +++ b/okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt @@ -130,7 +130,6 @@ abstract class RequestBody { /** Returns a new request body that transmits this. */ @JvmStatic @JvmName("create") - @ExperimentalOkHttpApi fun FileDescriptor.toRequestBody(contentType: MediaType? = null): RequestBody = object : RequestBody() { override fun contentType() = contentType