Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for HTTPMethod (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

    import okhttp3.Response
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.connection.RealCall
    import okhttp3.internal.discard
    import okhttp3.internal.http.ExchangeCodec
    import okhttp3.internal.http.HttpMethod
    import okhttp3.internal.http.RealResponseBody
    import okhttp3.internal.http.promisesBody
    import okhttp3.internal.stripBody
    import okio.Buffer
    import okio.Source
    import okio.Timeout
    import okio.buffer
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

            require(method.isNotEmpty()) {
              "method.isEmpty() == true"
            }
            if (body == null) {
              require(!HttpMethod.requiresRequestBody(method)) {
                "method $method must have a request body."
              }
            } else {
              require(HttpMethod.permitsRequestBody(method)) {
                "method $method must not have a request body."
              }
            }
            this.method = method
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                return;
            }
    
            final Method httpMethod = Method.valueOf(request.getMethod().toUpperCase(Locale.ROOT));
            final CurlRequest curlRequest = ComponentUtil.getCurlHelper().request(httpMethod, path);
    
            final String contentType = request.getHeader("Content-Type");
            if (StringUtil.isNotEmpty(contentType)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        val requestBuilder = userResponse.request.newBuilder()
        if (HttpMethod.permitsRequestBody(method)) {
          val responseCode = userResponse.code
          val maintainBody =
            HttpMethod.redirectsWithBody(method) ||
              responseCode == HTTP_PERM_REDIRECT ||
              responseCode == HTTP_TEMP_REDIRECT
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.addHeaderLenient
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.http.HttpMethod
    import okhttp3.internal.http2.ErrorCode
    import okhttp3.internal.http2.Header
    import okhttp3.internal.http2.Http2Connection
    import okhttp3.internal.http2.Http2Stream
    import okhttp3.internal.immutableListOf
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

    import okhttp3.internal.cache.CacheStrategy
    import okhttp3.internal.cache.DiskLruCache
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.http.HttpMethod
    import okhttp3.internal.http.StatusLine
    import okhttp3.internal.platform.Platform
    import okhttp3.internal.platform.Platform.Companion.WARN
    import okhttp3.internal.toLongOrDefault
    import okio.Buffer
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. cmd/signature-v4.go

    	}
    	sort.Strings(headers)
    	return strings.Join(headers, ";")
    }
    
    // getCanonicalRequest generate a canonical request of style
    //
    // canonicalRequest =
    //
    //	<HTTPMethod>\n
    //	<CanonicalURI>\n
    //	<CanonicalQueryString>\n
    //	<CanonicalHeaders>\n
    //	<SignedHeaders>\n
    //	<HashedPayload>
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Dec 13 22:19:12 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_4x.md

    [blog post][okhttp4_blog_post] to explain it.
    
     *  Fix: Target Java 8 bytecode for Java and Kotlin.
    
    
    ## Version 4.0.0-RC3
    
    _2019-06-24_
    
     *  Fix: Retain binary-compatibility in `okhttp3.internal.HttpMethod`. Naughty third party SDKs
        import this and we want to ease upgrades for their users.
    
    
    ## Version 4.0.0-RC2
    
    _2019-06-21_
    
     *  New: Require Kotlin 1.3.40.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top