- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for appropriately (0.28 sec)
-
docs/en/docs/how-to/custom-request-and-route.md
First, we create a `GzipRequest` class, which will overwrite the `Request.body()` method to decompress the body in the presence of an appropriate header. If there's no `gzip` in the header, it will not try to decompress the body. That way, the same route class can handle gzip compressed or uncompressed requests. ```Python hl_lines="8-15"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Mar 31 23:52:53 GMT 2024 - 4.4K bytes - Viewed (0) -
docs/en/docs/how-to/configure-swagger-ui.md
That configuration would change the syntax highlighting color theme: <img src="/img/tutorial/extending-openapi/image04.png"> ## Change Default Swagger UI Parameters FastAPI includes some default configuration parameters appropriate for most of the use cases. It includes these default configurations: ```Python {!../../../fastapi/openapi/docs.py[ln:7-23]!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 2.8K bytes - Viewed (0) -
docs/en/docs/tutorial/cors.md
In this case the middleware will intercept the incoming request and respond with appropriate CORS headers, and either a `200` or `400` response for informational purposes. ### Simple requests Any request with an `Origin` header. In this case the middleware will pass the request through as normal, but will include appropriate CORS headers on the response. ## More info
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Nov 13 20:28:37 GMT 2022 - 5.1K bytes - Viewed (0) -
docs/en/docs/tutorial/security/index.md
* HTTP Basic authentication. * HTTP Digest, etc. * `oauth2`: all the OAuth2 ways to handle security (called "flows"). * Several of these flows are appropriate for building an OAuth 2.0 authentication provider (like Google, Facebook, Twitter, GitHub, etc): * `implicit` * `clientCredentials` * `authorizationCode`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jun 24 14:47:15 GMT 2023 - 4.3K bytes - Viewed (0)