- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 1,054 for body (0.02 sec)
-
docs_src/schema_extra_example/tutorial005_py310.py
from fastapi import Body, FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Item = Body( openapi_examples={ "normal": { "summary": "A normal example",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 26 18:03:13 UTC 2023 - 1.3K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
if (!response.isSuccessful) { listener.onFailure(this, null, response) return } val body = response.body if (!body.isEventStream()) { listener.onFailure( this, IllegalStateException("Invalid content-type: ${body.contentType()}"), response, ) return }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
} @Override public void onResponse(Call call, Response response) throws IOException { try (ResponseBody body = response.body()) { // Consume and discard the response body. body.source().readByteString(); } } }); Request newYorkTimesRequest = new Request.Builder() .url("https://www.nytimes.com/") .build();
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 6.1K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/error/badRequest.jsp
type="text/css" /> <link href="${fe:url('/css/style.css')}" rel="stylesheet" type="text/css" /> <link href="${fe:url('/css/font-awesome.min.css')}" rel="stylesheet" type="text/css" /> </head> <body class="error"> <jsp:include page="../header.jsp" /> <main class="container"> <div class="text-center"> <h2> <la:message key="labels.request_error_title" /> </h2>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:07:52 UTC 2024 - 1.4K bytes - Viewed (0) -
tests/test_openapi_examples.py
from dirty_equals import IsDict from fastapi import Body, Cookie, FastAPI, Header, Path, Query from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class Item(BaseModel): data: str @app.post("/examples/") def examples( item: Item = Body( examples=[ {"data": "Data in Body examples, example1"}, ], openapi_examples={
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 15:57:43 UTC 2024 - 17.7K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/relatedcontent/admin_relatedcontent_edit.jsp
<title><la:message key="labels.admin_brand_title"/> | <la:message key="labels.related_content_configuration"/></title> <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include> </head> <body class="hold-transition sidebar-mini"> <div class="wrapper"> <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include> <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 5.4K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/badword/admin_badword_upload.jsp
<title><la:message key="labels.admin_brand_title"/> | <la:message key="labels.bad_word_configuration"/></title> <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include> </head> <body class="hold-transition sidebar-mini"> <div class="wrapper"> <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include> <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 5.4K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/dict/mapping/admin_dict_mapping_download.jsp
<title><la:message key="labels.admin_brand_title"/> | <la:message key="labels.dict_mapping_configuration"/></title> <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include> </head> <body class="hold-transition sidebar-mini"> <div class="wrapper"> <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include> <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 5.9K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/dict/synonym/admin_dict_synonym_download.jsp
<title><la:message key="labels.admin_brand_title"/> | <la:message key="labels.dict_synonym_configuration"/></title> <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include> </head> <body class="hold-transition sidebar-mini"> <div class="wrapper"> <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include> <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 5.9K bytes - Viewed (0) -
docs/de/docs/tutorial/handling-errors.md
/// ### Den `RequestValidationError`-Body verwenden Der `RequestValidationError` enthält den empfangenen `body` mit den ungültigen Daten. Sie könnten diesen verwenden, während Sie Ihre Anwendung entwickeln, um den Body zu loggen und zu debuggen, ihn zum Benutzer zurückzugeben, usw. ```Python hl_lines="14"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.6K bytes - Viewed (0)