Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,142 for Body (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

      @Throws(IOException::class)
      fun non101RetainsBody() {
        webServer.enqueue(
          MockResponse
            .Builder()
            .code(200)
            .body("Body")
            .build(),
        )
        newWebSocket()
        clientListener.assertFailure(
          200,
          "Body",
          ProtocolException::class.java,
          "Expected HTTP 101 response but was '200 OK'",
        )
      }
    
      @Test
      @Throws(IOException::class)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt

        handshakeServerNames = socket.handshakeServerNames,
        method = requestLine.method,
        target = requestLine.target,
        version = requestLine.version,
        url = requestUrl,
        headers = headers,
        body = body,
        bodySize = bodySize,
        chunkSizes = chunkSizes,
        failure = failure,
      )
    }
    
    internal fun decodeRequestLine(requestLine: String?): RequestLine {
      val parts =
        when {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jul 29 12:43:16 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body/test_tutorial003.py

        assert response.json() == {
            "detail": [
                {
                    "type": "missing",
                    "loc": ["body", "name"],
                    "msg": "Field required",
                    "input": {},
                },
                {
                    "type": "missing",
                    "loc": ["body", "price"],
                    "msg": "Field required",
                    "input": {},
                },
            ]
        }
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            body[i + 2] = oplock;
            body[i + 3] = openFlags;
            i += 4;
    
            SMBUtil.writeInt4(createAction, body, i); // CreateAction
            i += 4;
    
            SMBUtil.writeTime(ctime, body, i); // CreationTime
            i += 8;
            SMBUtil.writeTime(atime, body, i); // LastAccessTime
            i += 8;
            SMBUtil.writeTime(mtime, body, i); // LastWriteTime
            i += 8;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. docs/pt/docs/how-to/custom-request-and-route.md

    Mas por causa das nossas mudanças em `GzipRequest.body`, o corpo da requisição será automaticamente descomprimido quando for carregado pelo **FastAPI** quando necessário.
    
    ## Acessando o corpo da requisição em um manipulador de exceção { #accessing-the-request-body-in-an-exception-handler }
    
    /// tip | Dica
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. cmd/api-response_test.go

    	resp := rw.Result()
    	if resp.StatusCode != 123 {
    		t.Fatalf("unexpected status: %v", resp.StatusCode)
    	}
    	body, err := io.ReadAll(resp.Body)
    	if err != nil {
    		t.Fatalf("reading response body failed: %v", err)
    	}
    	if string(body) != "hello" {
    		t.Fatalf("response body incorrect: %v", string(body))
    	}
    
    	// Check that Unwrap works
    	if trw.Unwrap() != rw {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:19 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/fileconfig/admin_fileconfig.jsp

                                <jsp:include page="/WEB-INF/view/common/admin/crud/header.jsp"></jsp:include>
                            </div>
                            <%-- Card Body --%>
                            <div class="card-body">
                                <%-- Message --%>
                                <div>
                                    <la:info id="msg" message="true">
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/response-status-code.md

    <img src="/img/tutorial/response-status-code/image01.png">
    
    /// note | Nota
    
    Algunos códigos de response (ver la siguiente sección) indican que el response no tiene un body.
    
    FastAPI sabe esto, y producirá documentación OpenAPI que establece que no hay un response body.
    
    ///
    
    ## Acerca de los códigos de estado HTTP { #about-http-status-codes }
    
    /// note | Nota
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

         *
         * @param body the search parameters for querying documents
         * @return JSON response containing search results
         */
        // GET /api/admin/searchlist/docs
        // PUT /api/admin/searchlist/docs
        @Execute
        public JsonResponse<ApiResult> docs(final SearchBody body) {
            validateApi(body, messages -> {});
    
            if (StringUtil.isBlank(body.q)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

        val request = fromArgs("-d", "foo", "http://example.com").createRequest()
        val body = request.body
        assertThat(request.method).isEqualTo("POST")
        assertThat(request.url.toString()).isEqualTo("http://example.com/")
        assertThat(body!!.contentType().toString()).isEqualTo(
          "application/x-www-form-urlencoded; charset=utf-8",
        )
        assertThat(bodyAsString(body)).isEqualTo("foo")
      }
    
      @Test
      fun dataPut() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top