Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 875 for BODY (0.01 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

         *
         * @param body the bulk request body containing documents to process
         * @return JSON response with bulk operation results
         */
        // PUT /api/admin/documents/bulk
        @Execute
        public JsonResponse<ApiResult> put$bulk(final BulkBody body) {
            validateApi(body, messages -> {});
            if (body.documents == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

          closed = true
          currentPart = null
          source.close()
        }
    
        /** A single part in a multipart body. */
        class Part(
          @get:JvmName("headers") val headers: Headers,
          @get:JvmName("body") val body: BufferedSource,
        ) : Closeable by body
    
        internal companion object {
          /** These options follow the boundary. */
          val afterBoundaryOptions =
            Options.of(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/request-forms-and-files.md

    /// warning
    
    You can declare multiple `File` and `Form` parameters in a *path operation*, but you can't also declare `Body` fields that you expect to receive as JSON, as the request will have the body encoded using `multipart/form-data` instead of `application/json`.
    
    This is not a limitation of **FastAPI**, it's part of the HTTP protocol.
    
    ///
    
    ## Recap { #recap }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          return
        }
    
        val body = response.body ?: return
        socket.sleepWhileOpen(response.bodyDelayNanos)
        val responseBodySink =
          socket.sink
            .withThrottlingAndSocketEffect(
              policy = response,
              socketEffect = response.onResponseBody,
              expectedByteCount = body.contentLength,
              socket = socket,
            ).buffer()
        body.writeTo(responseBodySink)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  5. 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)
  6. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

            "abc",
          ),
        )
        assertThat(partAbc.body.readUtf8()).isEqualTo("abcd\r\nefgh")
    
        val partIjk = parts.nextPart()!!
        assertThat(partIjk.headers).isEqualTo(
          headersOf(
            "Content-Type",
            "text/plain; charset=utf-8",
            "Content-ID",
            "ijk",
          ),
        )
        assertThat(partIjk.body.readUtf8()).isEqualTo("ijkl\r\nmnop\r\n")
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            assertEquals("aaa bbb ccc", value);
    
            data = "<html><body> aaa <p> bbb <aaa>ccc</bbb> </p> </body></html>";
            document = getDocument(data);
            value = transformer.getSingleNodeValue(document, "//BODY", node -> node);
            assertEquals("aaa bbb ccc", value);
    
            data = "<html><body> aaa <p> bbb <!-- test -->ccc<!-- test --> </p> </body></html>";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  8. cmd/handler-utils_test.go

    	// Corrupted XML
    	malformedReq := &http.Request{
    		Body:          io.NopCloser(bytes.NewReader([]byte("<>"))),
    		ContentLength: int64(len("<>")),
    	}
    
    	// Not an XML
    	badRequest := &http.Request{
    		Body:          io.NopCloser(bytes.NewReader([]byte("garbage"))),
    		ContentLength: int64(len("garbage")),
    	}
    
    	// generates the input request with XML bucket configuration set to the request body.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/admin/PluginTests.java

            return DELETE_ENDPOINT_SUFFIX;
        }
    
        protected Response checkDeleteMethod(final Map<String, Object> body) {
            return checkMethodBase(body).delete(getApiPath() + "/");
        }
    
        @Test
        void testInstalled_ok() {
            checkGetMethod(Collections.emptyMap(), getInstalledEndpointSuffix() + "/").then().body("response.status", equalTo(0));
        }
    
        @Test
        void testAvailable_ok() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

      val request by lazy { Request(server.url("/")) }
    
      @Test
      fun suspendCall() {
        runTest {
          server.enqueue(MockResponse(body = "abc"))
    
          val call = client.newCall(request)
    
          call.executeAsync().use {
            withContext(Dispatchers.IO) {
              assertThat(it.body.string()).isEqualTo("abc")
            }
          }
        }
      }
    
      @Test
      fun timeoutCall() {
        runTest {
          server.enqueue(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top