- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,384 for Header (0.11 sec)
-
docs_src/header_param_models/tutorial001_py310.py
from fastapi import FastAPI, Header from pydantic import BaseModel app = FastAPI() class CommonHeaders(BaseModel): host: str save_data: bool if_modified_since: str | None = None traceparent: str | None = None x_tag: list[str] = [] @app.get("/items/") async def read_items(headers: CommonHeaders = Header()):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 352 bytes - Viewed (0) -
fastapi/security/oauth2.py
authorization = request.headers.get("Authorization") scheme, param = get_authorization_scheme_param(authorization) if not authorization or scheme.lower() != "bearer": if self.auto_error: raise HTTPException( status_code=HTTP_401_UNAUTHORIZED, detail="Not authenticated", headers={"WWW-Authenticate": "Bearer"},
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 23 18:30:18 UTC 2024 - 21.1K bytes - Viewed (0) -
tests/test_tutorial/test_header_param_models/test_tutorial001.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 8.7K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/relatedcontent/admin_relatedcontent_details.jsp
<%-- Card Header --%> <div class="card-header"> <jsp:include page="/WEB-INF/view/common/admin/crud/header.jsp"></jsp:include> </div> <%-- Card Body --%>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 4.8K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/reqheader/admin_reqheader_details.jsp
<%-- Card Header --%> <div class="card-header"> <jsp:include page="/WEB-INF/view/common/admin/crud/header.jsp"></jsp:include> </div> <%-- Card Body --%>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 4.6K bytes - Viewed (0) -
cmd/object-handlers-common_test.go
recorder := httptest.NewRecorder() request := httptest.NewRequest(http.MethodHead, "/bucket/a", bytes.NewReader([]byte{})) request.Header.Set(xhttp.IfNoneMatch, tc.ifNoneMatch) request.Header.Set(xhttp.IfModifiedSince, tc.ifModifiedSince) request.Header.Set(xhttp.IfMatch, tc.ifMatch) request.Header.Set(xhttp.IfUnmodifiedSince, tc.ifUnmodifiedSince)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 06:33:53 UTC 2024 - 5.3K bytes - Viewed (0) -
docs_src/header_param_models/tutorial002_an.py
return headers...
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 486 bytes - Viewed (0) -
tests/test_openapi_examples.py
"Header One": { "summary": "Header One Summary", "description": "Header One Description", "value": "header1", }, "Header Two": {"value": "header2"}, }, }
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/pathmap/admin_pathmap_details.jsp
<%-- Card Header --%> <div class="card-header"> <jsp:include page="/WEB-INF/view/common/admin/crud/header.jsp"></jsp:include> </div> <%-- Card Body --%>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Feb 28 06:09:47 UTC 2021 - 5.5K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main_an_py39.py
response = client.get("/items?token=jessica", headers={"X-Token": "invalid"}) assert response.status_code == 400 assert response.json() == {"detail": "X-Token header invalid"} @needs_py39 def test_items_bar_with_invalid_token(client: TestClient): response = client.get("/items/bar?token=jessica", headers={"X-Token": "invalid"}) assert response.status_code == 400
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 24.9K bytes - Viewed (0)