Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 400 (0.11 sec)

  1. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

     *     if (myConfig.isInvalid()) {
     *       return Response.Builder()
     *           .request(chain.request())
     *           .protocol(Protocol.HTTP_1_1)
     *           .code(400)
     *           .message("client config invalid")
     *           .body("client config invalid".toResponseBody(null))
     *           .build()
     *     }
     *
     *     return chain.proceed(chain.request())
     *   }
     * ```
     */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/DuplexTest.kt

       * OkHttp currently doesn't implement failing the request body stream independently of failing the
       * corresponding response body stream. This is necessary if we want servers to be able to stop
       * inbound data and send an early 400 before the request body completes.
       *
       * This test sends a slow request that is canceled by the server. It expects the response to still
       * be readable after the request stream is canceled.
       */
      @Disabled
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertCached(false, 303)
        assertCached(false, 304)
        assertCached(false, 305)
        assertCached(false, 306)
        assertCached(true, 307)
        assertCached(true, 308)
        assertCached(false, 400)
        assertCached(false, 401)
        assertCached(false, 402)
        assertCached(false, 403)
        assertCached(true, 404)
        assertCached(true, 405)
        assertCached(false, 406)
        assertCached(false, 408)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

          Header(TARGET_SCHEME, "https"),
          Header(RESPONSE_STATUS, "200"),
          Header(RESPONSE_STATUS, "204"),
          Header(RESPONSE_STATUS, "206"),
          Header(RESPONSE_STATUS, "304"),
          Header(RESPONSE_STATUS, "400"),
          Header(RESPONSE_STATUS, "404"),
          Header(RESPONSE_STATUS, "500"),
          Header("accept-charset", ""),
          Header("accept-encoding", "gzip, deflate"),
          Header("accept-language", ""),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (1)
Back to top