- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,269 for invalid (0.1 sec)
-
src/main/java/jcifs/smb1/smb1/NtStatus.java
"The system cannot find the file specified.", "Cannot create a file when that file already exists.", "The handle is invalid.", "The specified path is invalid.", "The system cannot find the path specified.", "The specified path is invalid.", "The process cannot access the file because it is being used by another process.", "Access is denied.",
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 11.1K bytes - Viewed (0) -
docs_src/dependencies/tutorial012.py
if x_token != "fake-super-secret-token": raise HTTPException(status_code=400, detail="X-Token header invalid") async def verify_key(x_key: str = Header()): if x_key != "fake-super-secret-key": raise HTTPException(status_code=400, detail="X-Key header invalid") return x_key app = FastAPI(dependencies=[Depends(verify_token), Depends(verify_key)]) @app.get("/items/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 696 bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial006_an.py
def test_get_invalid_one_header(): response = client.get("/items/", headers={"X-Token": "invalid"}) assert response.status_code == 400, response.text assert response.json() == {"detail": "X-Token header invalid"} def test_get_invalid_second_header(): response = client.get( "/items/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"} ) assert response.status_code == 400, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 5K bytes - Viewed (0) -
docs_src/app_testing/app_b_an/main.py
@app.get("/items/{item_id}", response_model=Item) async def read_main(item_id: str, x_token: Annotated[str, Header()]): if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header") if item_id not in fake_db: raise HTTPException(status_code=404, detail="Item not found") return fake_db[item_id] @app.post("/items/", response_model=Item)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Aug 15 22:31:16 UTC 2024 - 1.2K bytes - Viewed (0) -
fastapi/exceptions.py
class HTTPException(StarletteHTTPException): """ An HTTP exception you can raise in your own code to show errors to the client. This is for client errors, invalid authentication, invalid data, etc. Not for server errors in your code. Read more about it in the [FastAPI docs for Handling Errors](https://fastapi.tiangolo.com/tutorial/handling-errors/). ## Example
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 4.9K bytes - Viewed (0) -
cmd/server-main_test.go
expectedErr: false, hash: "hash:676d2da00f71f205", }, { config: "testdata/config/invalid.yaml", expectedErr: true, }, { config: "testdata/config/invalid-types.yaml", expectedErr: true, }, { config: "testdata/config/invalid-disks.yaml", expectedErr: true, }, } { testcase := testcase t.Run(testcase.config, func(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Dec 07 09:33:56 UTC 2023 - 3.1K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main_an.py
response = client.get("/items?token=jessica", headers={"X-Token": "invalid"}) assert response.status_code == 400 assert response.json() == {"detail": "X-Token header invalid"} 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.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolver.java
* @throws ArtifactResolverException in case of an error * @throws IllegalArgumentException in case of parameter {@code buildingRequest} is {@code null} or * parameter {@code mavenArtifact} is {@code null} or invalid */ ArtifactResolverResult resolve(ArtifactResolverRequest request); /** * Resolves several artifacts from their coordinates. * * @param session {@link Session}
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Sep 12 06:19:14 UTC 2024 - 3.2K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy
given: sampleDoc << """ === Markdown Style Links [Invalid markdown link](https://docs.gradle.org/nowhere) """ when: run('checkDeadInternalLinks').buildAndFail() then: assertFoundDeadLinks([DeadLink.forMarkdownLink(sampleDoc, "[Invalid markdown link](https://docs.gradle.org/nowhere)")]) }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Aug 21 08:08:05 UTC 2024 - 8.3K bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial005.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 26 18:03:13 UTC 2023 - 1.4K bytes - Viewed (0)