Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 1,178 for Applications (0.07 seconds)

  1. src/test/java/org/codelibs/curl/CurlResponseTest.java

            headers.put("Content-Type", Arrays.asList("application/json"));
            headers.put("CONTENT-LENGTH", Arrays.asList("100"));
            headers.put("accept-encoding", Arrays.asList("gzip"));
            response.setHeaders(headers);
    
            // All header access should be case-insensitive
            assertEquals("application/json", response.getHeaderValue("content-type"));
            assertEquals("application/json", response.getHeaderValue("CONTENT-TYPE"));
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  2. tests/test_additional_responses_response_class.py

    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class JsonApiResponse(JSONResponse):
        media_type = "application/vnd.api+json"
    
    
    class Error(BaseModel):
        status: str
        title: str
    
    
    class JsonApiError(BaseModel):
        errors: list[Error]
    
    
    @app.get(
        "/a",
        response_class=JsonApiResponse,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  3. tests/test_additional_responses_router.py

                                    "content": {"application/json": {"schema": {}}},
                                },
                                "default": {
                                    "description": "Default Response",
                                    "content": {
                                        "application/json": {
                                            "schema": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/it/ITBase.java

            if (testToken != null) {
                return;
            }
            given().contentType("application/json").delete(getEsUrl() + "/fess_config.access_token/_doc/" + DEFAULT_TEST_TOKEN_ID);
        }
    
        public static void refresh() {
            given().contentType("application/json").post(getEsUrl() + "/_refresh");
        }
    
        public static String getFessUrl() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/util/MimeMapTest.java

            @DisplayName("Should return correct mime type for multiple extensions")
            @CsvSource({ "txt, text/plain", "css, text/css", "js, application/x-javascript", "zip, application/zip", "tar, application/x-tar",
                    "gz, application/x-gzip", "tiff, image/tiff", "tif, image/tiff" })
            void testVariousExtensions(String extension, String expectedMimeType) throws IOException {
                assertEquals(expectedMimeType, mimeMap.getMimeType(extension));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. tests/test_additional_responses_union_duplicate_anyof.py

                                    "content": {"application/json": {"schema": {}}},
                                },
                                "500": {
                                    "description": "Internal Server Error",
                                    "content": {
                                        "application/json": {
                                            "schema": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            docMap.put("mimetype", "application/pdf");
            assertTrue(thumbnailGenerator.isTarget(docMap));
        }
    
        @Test
        public void test_isTarget_withUnsupportedMimeType() {
            // Test with unsupported document type
            Map<String, Object> docMap = new HashMap<>();
            docMap.put("mimetype", "application/unknown");
            assertFalse(thumbnailGenerator.isTarget(docMap));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  8. buildscripts/cicd-corpus/disk4/bucket/testobj/xl.meta

    ը�PartASizes��	ը�Size�	ը�MTime�������MetaSys��x-minio-internal-replica-status�REPLICA�"x-minio-internal-replica-timestamp�2022-03-20T15:17:01.730949636Z�MetaUsr��X-Amz-Replication-Status�REPLICA�etag� 9587ddd31fead633830366f45d221d56�content-type�application/octet-stream�x-amz-storage-class�STANDARD�$��PPb�I(��e��(�������������Ղ�Type�V2Obj��ID�PPb�I(��e��(�ǤDDir�+O~A߂J^�����3/�EcAlgo�EcM�EcN�EcBSize��EcIndex�EcDist��CSumAlgo�PartNums��PartETags��PartSizes��	ը�PartASizes��...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 20 19:49:05 GMT 2022
    - 1K bytes
    - Click Count (0)
  9. tests/test_response_class_no_mediatype.py

    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class JsonApiResponse(JSONResponse):
        media_type = "application/vnd.api+json"
    
    
    class Error(BaseModel):
        status: str
        title: str
    
    
    class JsonApiError(BaseModel):
        errors: list[Error]
    
    
    @app.get(
        "/a",
        response_class=Response,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/request-forms.md

    /// warning | Atenção
    
    Você pode declarar vários parâmetros `Form` em uma *operação de rota*, mas não pode declarar campos `Body` que espera receber como JSON, pois a requisição terá o corpo codificado usando `application/x-www-form-urlencoded` em vez de `application/json`.
    
    Isso não é uma limitação do **FastAPI**, é parte do protocolo HTTP.
    
    ///
    
    ## Recapitulando { #recap }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 2.9K bytes
    - Click Count (0)
Back to Top