Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 761 - 770 of 1,943 for Responses (0.05 seconds)

  1. docs/fr/docs/tutorial/extra-models.md

    ## Liste de modèles { #list-of-models }
    
    De la même manière, vous pouvez déclarer des réponses contenant des listes d'objets.
    
    Pour cela, utilisez le `list` Python standard :
    
    {* ../../docs_src/extra_models/tutorial004_py310.py hl[18] *}
    
    ## Réponse avec un `dict` arbitraire { #response-with-arbitrary-dict }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  2. docs/de/docs/how-to/general.md

    ## Beschreibung der Response in der Dokumentation – OpenAPI { #documentation-response-description-openapi }
    
    Um die Beschreibung der Response zu definieren, welche in der Oberfläche der Dokumentation angezeigt wird, lesen Sie die Dokumentation unter [Tutorial – Pfadoperation-Konfiguration – Beschreibung der Response](../tutorial/path-operation-configuration.md#response-description).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  3. tests/test_dependency_contextvars.py

    
    @app.middleware("http")
    async def custom_middleware(
        request: Request, call_next: Callable[[Request], Awaitable[Response]]
    ):
        response = await call_next(request)
        response.headers["custom"] = "foo"
        return response
    
    
    @app.get("/user", dependencies=[Depends(set_up_request_state_dependency)])
    def get_user():
        request_state = legacy_request_state_context_var.get()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/it/admin/BadWordTests.java

            }
            refresh();
    
            // Download CSV
            Response response =
                    given().contentType("application/json").header("Authorization", getTestToken()).when().get(getApiPath() + "/download");
    
            assertEquals(200, response.getStatusCode());
            String body = response.getBody().asString();
            assertTrue(body != null, "CSV response should not be null");
            // CSV should contain the test data
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/admin/ElevateWordTests.java

            }
            refresh();
    
            // Download CSV
            Response response =
                    given().contentType("application/json").header("Authorization", getTestToken()).when().get(getApiPath() + "/download");
    
            assertEquals(200, response.getStatusCode());
            String body = response.getBody().asString();
            assertTrue(body != null, "CSV response should not be null");
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

        logWithTime("canceled")
      }
    
      override fun satisfactionFailure(
        call: Call,
        response: Response,
      ) {
        logWithTime("satisfactionFailure: $response")
      }
    
      override fun cacheHit(
        call: Call,
        response: Response,
      ) {
        logWithTime("cacheHit: $response")
      }
    
      override fun cacheMiss(call: Call) {
        logWithTime("cacheMiss")
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Oct 06 13:40:20 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/api/BaseApiManager.java

            } else {
                enc = encoding;
            }
            buf.append(enc);
            final HttpServletResponse response = LaResponseUtil.getResponse();
            response.setContentType(buf.toString());
            writeHeaders(response);
            try (PrintWriter out = new PrintWriter(new OutputStreamWriter(response.getOutputStream(), enc))) {
                out.print(text);
            } catch (final IOException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  8. android-test/src/androidDeviceTest/java/okhttp/android/test/OkHttpTest.kt

                ),
              ).build()
    
          val response = client.newCall(request).execute()
    
          response.use {
            assertEquals(Protocol.HTTP_2, response.protocol)
            assertEquals(200, response.code)
            assertEquals("com.google.android.gms.org.conscrypt.Java8FileDescriptorSocket", socketClass)
            assertEquals(TlsVersion.TLS_1_2, response.handshake?.tlsVersion)
          }
        } finally {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  9. tests/test_custom_middleware_exception.py

        path.write_bytes(b"x" * (default_pydantic_max_size + 1))
    
        with client:
            with open(path, "rb") as file:
                response = client.post("/middleware", files={"file": file})
            assert response.status_code == 422, response.text
            assert response.json() == {
                "detail": {
                    "name": "ContentSizeLimitExceeded",
                    "code": 999,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt

        }
    
      /**
       * Asserts that the current response was redirected and returns the prior response.
       */
      fun priorResponse(): RecordedResponse {
        val priorResponse = response!!.priorResponse!!
        return RecordedResponse(priorResponse.request, priorResponse, null, null, null)
      }
    
      /**
       * Asserts that the current response used the network and returns the network response.
       */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.3K bytes
    - Click Count (0)
Back to Top