- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,269 for invalid (0.07 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/ModelValidator.java
import org.apache.maven.model.building.ModelProblemCollector; /** * Checks the model for missing or invalid values. * * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") public interface ModelValidator { /** * Checks the specified file model for missing or invalid values. This model is directly created from the POM
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
docs_src/app_testing/app_b/main.py
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) async def create_item(item: Item, x_token: str = Header()): if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header") if item.id in fake_db:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Jan 09 14:44:08 UTC 2024 - 1.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
switch ( this.state ) { case 1: return makeNegotiate(token); case 2: return makeAuthenticate(token); default: throw new SmbException("Invalid state"); } } protected byte[] makeAuthenticate ( byte[] token ) throws SmbException { try { Type2Message msg2 = new Type2Message(token);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 15.7K bytes - Viewed (0) -
internal/config/compress/compress.go
if err != nil { return cfg, fmt.Errorf("%s: Invalid MINIO_COMPRESSION_EXTENSIONS value (`%s`)", err, extensions) } cfg.Extensions = extensions } if compressExtensionsLegacy != "" { extensions, err := parseCompressIncludes(compressExtensions) if err != nil { return cfg, fmt.Errorf("%s: Invalid MINIO_COMPRESS_EXTENSIONS value (`%s`)", err, extensions) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5K bytes - Viewed (0) -
cmd/object-api-getobjectinfo_test.go
shouldPass bool }{ // Test cases with invalid bucket names ( Test number 1-4 ). {".test", "", ObjectInfo{}, BucketNameInvalid{Bucket: ".test"}, false}, {"---", "", ObjectInfo{}, BucketNameInvalid{Bucket: "---"}, false}, {"ad", "", ObjectInfo{}, BucketNameInvalid{Bucket: "ad"}, false}, // Test cases with valid but non-existing bucket names (Test number 5-6).
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 23 15:46:00 UTC 2022 - 5.6K bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial005_py310.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 26 18:03:13 UTC 2023 - 1.3K bytes - Viewed (0) -
cmd/streaming-signature-v4_test.go
type testCase struct { reader io.Reader expectedErr error } tests := []testCase{ // Test - 1 valid buffer with CRLF. {bytes.NewReader([]byte("\r\n")), nil}, // Test - 2 invalid buffer with no CRLF. {bytes.NewReader([]byte("he")), errMalformedEncoding}, // Test - 3 invalid buffer with more characters. {bytes.NewReader([]byte("he\r\n")), errMalformedEncoding}, // Test - 4 smaller buffer than expected.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 5.7K bytes - Viewed (0) -
docs_src/app_testing/app_b/test_main.py
} def test_read_item_bad_token(): response = client.get("/items/foo", headers={"X-Token": "hailhydra"}) assert response.status_code == 400 assert response.json() == {"detail": "Invalid X-Token header"} def test_read_nonexistent_item(): response = client.get("/items/baz", headers={"X-Token": "coneofsilence"}) assert response.status_code == 404
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 1.8K bytes - Viewed (0) -
docs_src/app_testing/app_b_an_py39/test_main.py
} def test_read_item_bad_token(): response = client.get("/items/foo", headers={"X-Token": "hailhydra"}) assert response.status_code == 400 assert response.json() == {"detail": "Invalid X-Token header"} def test_read_nonexistent_item(): response = client.get("/items/baz", headers={"X-Token": "coneofsilence"}) assert response.status_code == 404
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Aug 15 22:31:16 UTC 2024 - 1.8K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial006.py
) assert response.status_code == 401, response.text assert response.headers["WWW-Authenticate"] == "Basic" assert response.json() == {"detail": "Invalid authentication credentials"} def test_security_http_basic_non_basic_credentials(): payload = b64encode(b"johnsecret").decode("ascii") auth_header = f"Basic {payload}"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.3K bytes - Viewed (0)