Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 205 (0.13 sec)

  1. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          .assertNoMoreLogs()
      }
    
      @Test
      fun bodyGet204() {
        setLevel(Level.BODY)
        bodyGetNoBody(204)
      }
    
      @Test
      fun bodyGet205() {
        setLevel(Level.BODY)
        bodyGetNoBody(205)
      }
    
      private fun bodyGetNoBody(code: Int) {
        server.enqueue(
          MockResponse.Builder()
            .status("HTTP/1.1 $code No Content")
            .build(),
        )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

      }
    
      @Test
      fun http205WithBodyDisallowed() {
        server.enqueue(
          MockResponse(
            code = 205,
            body = "I'm not even supposed to be here today.",
          ),
        )
        executeSynchronously("/")
          .assertFailure("HTTP 205 had non-zero Content-Length: 39")
      }
    
      @Test
      fun httpWithExcessiveHeaders() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertCached(false, 101)
        assertCached(true, 200)
        assertCached(false, 201)
        assertCached(false, 202)
        assertCached(true, 203)
        assertCached(true, 204)
        assertCached(false, 205)
        assertCached(false, 206) // Electing to not cache partial responses
        assertCached(false, 207)
        assertCached(true, 300)
        assertCached(true, 301)
        assertCached(true, 302)
        assertCached(false, 303)
    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. docs/en/docs/release-notes.md

    Read more in the [advisory: Content-Type Header ReDoS](https://github.com/tiangolo/fastapi/security/advisories/GHSA-qf9m-vfgh-m389).
    
    ### Features
    
    * ✨  Include HTTP 205 in status codes with no body. PR [#10969](https://github.com/tiangolo/fastapi/pull/10969) by [@tiangolo](https://github.com/tiangolo).
    
    ### Refactors
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
Back to top