- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 517 for validar (0.08 sec)
-
tests/test_tutorial/test_security/test_tutorial005_an_py39.py
response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"}) assert response.status_code == 401, response.text assert response.json() == {"detail": "Could not validate credentials"} assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"' @needs_py39 def test_incorrect_token_type(client: TestClient): response = client.get(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 16.3K bytes - Viewed (0) -
internal/bucket/replication/tag.go
func (tag Tag) String() string { return tag.Key + "=" + tag.Value } // IsEmpty returns whether this tag is empty or not. func (tag Tag) IsEmpty() bool { return tag.Key == "" } // Validate checks this tag. func (tag Tag) Validate() error { if len(tag.Key) == 0 || utf8.RuneCountInString(tag.Key) > 128 { return errInvalidTagKey } if utf8.RuneCountInString(tag.Value) > 256 { return errInvalidTagValue }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java
} /** * Validate the specified settings. * * @param settings The settings to validate, must not be {@code null}. * @return The list of problems that were encountered, must not be {@code null}. */ @Nonnull default List<BuilderProblem> validate(@Nonnull Settings settings) { return validate(settings, false); } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Aug 22 14:47:43 UTC 2024 - 5.1K bytes - Viewed (0) -
cmd/erasure-metadata-utils_test.go
} // List all of all test cases to validate various cases of reduce errors. testCases := []struct { errs []error ignoredErrs []error err error }{ // Validate if have reduced properly. {[]error{ errDiskNotFound, errDiskNotFound, errDiskFull, }, []error{}, errErasureReadQuorum}, // Validate if have no consensus. {[]error{ errDiskFull,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 7.4K bytes - Viewed (0) -
docs/fr/docs/python-types.md
* **Définir les prérequis** : depuis les paramètres de chemins des requêtes, les entêtes, les corps, les dépendances, etc. * **Convertir des données** : depuis la requête vers les types requis. * **Valider des données** : venant de chaque requête : * Générant automatiquement des **erreurs** renvoyées au client quand la donnée est invalide. * **Documenter** l'API avec OpenAPI :
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 15:21:34 UTC 2024 - 10K bytes - Viewed (0) -
cmd/sts-handlers_test.go
} // Validate that the client from sts creds can access the bucket. c.mustListObjects(ctx, minioClient, bucket) // Validate that a bucket can be created bucket2 := getRandomBucketName() err = minioClient.MakeBucket(ctx, bucket2, minio.MakeBucketOptions{}) if err != nil { c.Fatalf("bucket creat error: %v", err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 97.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java
form.crudMode = CrudMode.CREATE; }); }); } @Execute @Secured({ ROLE }) public HtmlResponse edit(final EditForm form) { validate(form, messages -> {}, this::asListHtml); final String id = form.id; groupService.getGroup(id).ifPresent(entity -> { copyBeanToBean(entity, form, op -> {}); }).orElse(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 13.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java
form.crudMode = CrudMode.CREATE; }); }); } @Execute @Secured({ ROLE }) public HtmlResponse edit(final EditForm form) { validate(form, messages -> {}, this::asListHtml); final String id = form.id; pathMappingService.getPathMapping(id).ifPresent(entity -> { copyBeanToBean(entity, form, op -> {}); }).orElse(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 13K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005.py
def test_incorrect_token(): response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"}) assert response.status_code == 401, response.text assert response.json() == {"detail": "Could not validate credentials"} assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"' def test_incorrect_token_type(): response = client.get( "/users/me", headers={"Authorization": "Notexistent testtoken"}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 15.4K bytes - Viewed (0) -
cmd/batch-handlers.go
if err := r.Target.Creds.Validate(); err != nil { return err } } if err := r.Target.Type.Validate(); err != nil { return err } for _, tag := range r.Flags.Filter.Tags { if err := tag.Validate(); err != nil { return err } } for _, meta := range r.Flags.Filter.Metadata { if err := meta.Validate(); err != nil { return err } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 18 15:32:09 UTC 2024 - 62.2K bytes - Viewed (0)