Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for 204 (0.01 sec)

  1. src/main/webapp/js/jquery-3.7.1.min.js

    try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(ce.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.t...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

      }
    
      @Test
      fun http204WithBodyDisallowed() {
        server.enqueue(
          MockResponse(
            code = 204,
            body = "I'm not even supposed to be here today.",
          ),
        )
        executeSynchronously("/")
          .assertFailure("HTTP 204 had non-zero Content-Length: 39")
      }
    
      @Test
      fun http205WithBodyDisallowed() {
        server.enqueue(
          MockResponse(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

            body = "This body is not allowed!",
          ),
        )
        assertFailsWith<IOException> {
          getResponse(newRequest("/"))
        }.also { expected ->
          assertThat(expected.message).isEqualTo("HTTP 204 had non-zero Content-Length: 25")
        }
      }
    
      @Test
      fun singleByteReadIsSigned() {
        server.enqueue(
          MockResponse
            .Builder()
            .body(
              Buffer()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
Back to top