Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 577 for BODY (0.02 sec)

  1. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

            .setHeader("content-type", "text/event-stream")
            .body("data: hey\n\n")
            .build(),
        )
        newEventSource()
        listener.assertFailure("timeout")
      }
    
      @Test
      fun retainsAccept() {
        server.enqueue(
          MockResponse
            .Builder()
            .body(
              """
              |data: hey
              |
              |
              """.trimMargin(),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt

        if (!response.promisesBody()) {
          return response
        }
        val body = response.body
        val encoding = response.header("Content-Encoding") ?: return response
    
        val algorithm = lookupDecompressor(encoding) ?: return response
    
        val decompressedSource = algorithm.decompress(body.source()).buffer()
    
        return response
          .newBuilder()
          .removeHeader("Content-Encoding")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/view/admin/reqheader/admin_reqheader.jsp

        <title><la:message key="labels.admin_brand_title"/> | <la:message
                key="labels.reqheader_configuration"/></title>
        <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include>
    </head>
    <body class="hold-transition sidebar-mini">
    <div class="wrapper">
        <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Mar 24 13:43:18 UTC 2020
    - 5.5K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/admin/badword/admin_badword_download.jsp

        <title><la:message key="labels.admin_brand_title"/> | <la:message
                key="labels.bad_word_configuration"/></title>
        <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include>
    </head>
    <body class="hold-transition sidebar-mini">
    <div class="wrapper">
        <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/reqheader/admin_reqheader_edit.jsp

        <title><la:message key="labels.admin_brand_title"/> | <la:message
                key="labels.reqheader_configuration"/></title>
        <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include>
    </head>
    <body class="hold-transition sidebar-mini">
    <div class="wrapper">
        <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 5.1K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt

            ).protocol(Protocol.HTTP_1_1)
            .code(200)
            .message("OK")
            .build()
        assertThat(response.body.contentType()).isNull()
        assertThat(response.body.contentLength()).isEqualTo(0L)
        assertThat(response.body.byteString()).isEqualTo(EMPTY)
      }
    
      /**
       * Returns a new response body that refuses to be read once it has been closed. This is true of
       * most [BufferedSource] instances, but not of [Buffer].
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/test/resources/org/codelibs/core/net/aaa.html

    <html>
    <body>
    aaa
    </body>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Dec 28 09:01:06 UTC 2014
    - 33 bytes
    - Viewed (0)
  8. src/test/resources/org/codelibs/core/net/bbb.html

               <html>
    <body>
    bbb
    </body>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Dec 28 12:31:05 UTC 2014
    - 44 bytes
    - Viewed (0)
  9. docs/features/calls.md

    Each HTTP request contains a URL, a method (like `GET` or `POST`), and a list of headers. Requests may also contain a body: a data stream of a specific content type.
    
    ## [Responses](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-response/)
    
    The response answers the request with a code (like 200 for success or 404 for not found), headers, and its own optional body.
    
    ## Rewriting Requests
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt

          it.write(this@gzipCompress)
        }
        return result.readByteString()
      }
    
      private fun response(
        url: String,
        body: ByteString,
        fn: Response.Builder.() -> Unit = {},
      ): Response =
        Response
          .Builder()
          .body(body.toResponseBody("text/plain".toMediaType()))
          .code(200)
          .message("OK")
          .request(Request.Builder().url(url).build())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top