- Sort Score
- Result 10 results
- Languages All
Results 1261 - 1270 of 1,772 for request (0.09 sec)
-
docs/pt/docs/tutorial/background-tasks.md
Usando apenas `BackgroundTasks` (e não `BackgroundTask`), é então possível usá-la como um parâmetro de _função de operação de caminho_ e deixar o **FastAPI** cuidar do resto para você, assim como ao usar o objeto `Request` diretamente. Ainda é possível usar `BackgroundTask` sozinho no FastAPI, mas você deve criar o objeto em seu código e retornar uma Starlette `Response` incluindo-o.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/cors.md
O middleware responde a dois tipos específicos de solicitação HTTP... ### Requisições CORS pré-voo (preflight) Estas são quaisquer solicitações `OPTIONS` com cabeçalhos `Origin` e `Access-Control-Request-Method`. Nesse caso, o middleware interceptará a solicitação recebida e responderá com cabeçalhos CORS apropriados e uma resposta `200` ou `400` para fins informativos. ### Requisições Simples
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.5K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params.md
All the same process that applied for path parameters also applies for query parameters: * Editor support (obviously) * Data <abbr title="converting the string that comes from an HTTP request into Python data">"parsing"</abbr> * Data validation * Automatic documentation ## Defaults As query parameters are not a fixed part of a path, they can be optional and can have default values.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.1K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/keymatch/admin_keymatch.jsp
</table> </div> </div> <c:set var="pager" value="${keyMatchPager}" scope="request"/> <c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp"/> <c:if test="${pager.currentPageNumber > pager.allPageCount}">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Tue Mar 31 05:47:05 UTC 2020 - 7.4K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/relatedcontent/admin_relatedcontent.jsp
</div> </div> <c:set var="pager" value="${relatedContentPager}" scope="request"/> <c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp"/> <c:if test="${pager.currentPageNumber > pager.allPageCount}">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Tue Mar 31 05:47:05 UTC 2020 - 7.4K bytes - Viewed (0) -
fastapi/exceptions.py
""" ), ] = None, ) -> None: super().__init__(code=code, reason=reason) RequestErrorModel: Type[BaseModel] = create_model("Request") WebSocketErrorModel: Type[BaseModel] = create_model("WebSocket") class FastAPIError(RuntimeError): """ A generic, FastAPI-specific error. """
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 4.9K bytes - Viewed (0) -
fastapi/applications.py
```python import time from fastapi import FastAPI, Request app = FastAPI() @app.middleware("http") async def add_process_time_header(request: Request, call_next): start_time = time.time() response = await call_next(request) process_time = time.time() - start_time
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 04:52:31 UTC 2024 - 172.2K bytes - Viewed (0) -
cmd/object-api-errors.go
OffsetEnd int64 ResourceSize int64 } func (e InvalidRange) Error() string { return fmt.Sprintf("The requested range 'bytes=%d-%d' is not satisfiable", e.OffsetBegin, e.OffsetEnd) } // ObjectTooLarge error returned when the size of the object > max object size allowed (5G) per request. type ObjectTooLarge GenericError func (e ObjectTooLarge) Error() string {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 09 02:05:14 UTC 2024 - 22.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
private File userToolchainsFile; private File installationToolchainsFile; // ---------------------------------------------------------------------------- // Request // ---------------------------------------------------------------------------- private File multiModuleProjectDirectory; private File basedir; private Path rootDirectory;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 31.7K bytes - Viewed (0) -
docs/ja/docs/tutorial/handling-errors.md
{"message": "Oops! yolo did something. There goes a rainbow..."} ``` /// note | "技術詳細" また、`from starlette.requests import Request`と`from starlette.responses import JSONResponse`を使用することもできます。 **FastAPI** は開発者の利便性を考慮して、`fastapi.responses`と同じ`starlette.responses`を提供しています。しかし、利用可能なレスポンスのほとんどはStarletteから直接提供されます。これは`Request`と同じです。 /// ## デフォルトの例外ハンドラのオーバーライド **FastAPI** にはいくつかのデフォルトの例外ハンドラがあります。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.8K bytes - Viewed (0)