Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 566 for body (0.15 sec)

  1. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt

      val chunkSizes: List<Int>
      val bodySize: Long
      val body: Buffer
      val sequenceNumber: Int
      val failure: IOException?
      val method: String?
      val path: String?
      val handshake: Handshake?
      val requestUrl: HttpUrl?
    
      @get:JvmName("-deprecated_utf8Body")
      @Deprecated(
        message = "Use body.readUtf8()",
        replaceWith = ReplaceWith("body.readUtf8()"),
        level = DeprecationLevel.ERROR,
      )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (2)
  2. docs/de/docs/reference/responses.md

                - media_type
                - body
                - background
                - raw_headers
                - render
                - init_headers
                - headers
                - set_cookie
                - delete_cookie
    
    ::: fastapi.responses.ORJSONResponse
        options:
            members:
                - charset
                - status_code
                - media_type
                - body
                - background
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Feb 19 15:53:39 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. 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() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. misc/linkcheck/linkcheck.go

    	}
    	if res.StatusCode != 200 {
    		return errors.New(res.Status)
    	}
    	slurp, err := io.ReadAll(res.Body)
    	res.Body.Close()
    	if err != nil {
    		log.Fatalf("Error reading %s body: %v", url, err)
    	}
    	if *verbose {
    		log.Printf("Len of %s: %d", url, len(slurp))
    	}
    	body := string(slurp)
    	for _, ref := range localLinks(body) {
    		if *verbose {
    			log.Printf("  links to %s", ref)
    		}
    		dest := *root + ref
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 06 15:53:04 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/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].
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_files/test_tutorial001_an.py

                        "required": ["file"],
                        "type": "object",
                        "properties": {
                            "file": {"title": "File", "type": "string", "format": "binary"}
                        },
                    },
                    "Body_create_file_files__post": {
                        "title": "Body_create_file_files__post",
                        "required": ["file"],
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_request_files/test_tutorial001_02_an_py310.py

        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_post_form_no_body(client: TestClient):
        response = client.post("/files/")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "No file sent"}
    
    
    @needs_py310
    def test_post_uploadfile_no_body(client: TestClient):
        response = client.post("/uploadfile/")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java

            final ListBody body = new ListBody();
            body.id = dictionaryFile.getId();
            body.type = dictionaryFile.getType();
            body.path = dictionaryFile.getPath();
            body.timestamp = dictionaryFile.getTimestamp();
            return body;
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. docs_src/extra_data_types/tutorial001_an_py310.py

    from typing import Annotated
    from uuid import UUID
    
    from fastapi import Body, FastAPI
    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def read_items(
        item_id: UUID,
        start_datetime: Annotated[datetime, Body()],
        end_datetime: Annotated[datetime, Body()],
        process_after: Annotated[timedelta, Body()],
        repeat_at: Annotated[time | None, Body()] = None,
    ):
        start_process = start_datetime + process_after
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 00:11:40 GMT 2024
    - 788 bytes
    - Viewed (0)
  10. docs_src/extra_data_types/tutorial001_an.py

    from uuid import UUID
    
    from fastapi import Body, FastAPI
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def read_items(
        item_id: UUID,
        start_datetime: Annotated[datetime, Body()],
        end_datetime: Annotated[datetime, Body()],
        process_after: Annotated[timedelta, Body()],
        repeat_at: Annotated[Union[time, None], Body()] = None,
    ):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 00:11:40 GMT 2024
    - 830 bytes
    - Viewed (0)
Back to top