Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for charsetOrUtf8 (0.05 sec)

  1. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

    import java.util.TreeSet
    import java.util.concurrent.TimeUnit
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.Interceptor
    import okhttp3.OkHttpClient
    import okhttp3.Response
    import okhttp3.internal.charsetOrUtf8
    import okhttp3.internal.http.promisesBody
    import okhttp3.internal.platform.Platform
    import okhttp3.logging.internal.isProbablyUtf8
    import okio.Buffer
    import okio.GzipSource
    
    /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

    package okhttp3
    
    import java.io.Closeable
    import java.io.IOException
    import java.io.InputStream
    import java.io.InputStreamReader
    import java.io.Reader
    import java.nio.charset.Charset
    import okhttp3.internal.charsetOrUtf8
    import okhttp3.internal.chooseCharset
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.readBomAsCharset
    import okio.Buffer
    import okio.BufferedSource
    import okio.ByteString
    import okio.use
    
    /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt

          finalContentType = "$this; charset=utf-8".toMediaTypeOrNull()
        } else {
          charset = resolvedCharset
        }
      }
      return charset to finalContentType
    }
    
    internal fun MediaType?.charsetOrUtf8(): Charset = this?.charset() ?: Charsets.UTF_8
    
    internal val Response.connection: RealConnection
      get() = this.exchange!!.connection
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top