- Sort Score
- Result 10 results
- Languages All
Results 771 - 780 of 1,028 for validator (0.07 sec)
-
docs/en/docs/tutorial/handling-errors.md
These handlers are in charge of returning the default JSON responses when you `raise` an `HTTPException` and when the request has invalid data. You can override these exception handlers with your own. ### Override request validation exceptions When a request contains invalid data, **FastAPI** internally raises a `RequestValidationError`. And it also includes a default exception handler for it.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java
import org.lastaflute.web.response.HtmlResponse; import org.lastaflute.web.response.render.RenderData; import org.lastaflute.web.ruts.process.ActionRuntime; import org.lastaflute.web.validation.VaErrorHook; import org.lastaflute.web.validation.exception.ValidationErrorException; import jakarta.annotation.Resource; /** * @author shinsuke * @author Keiichi Watanabe */
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 18.8K bytes - Viewed (0) -
internal/bpool/bpool_test.go
} bp.Put(b) // Check the size of the pool. if uint64(len(bp.c)) != size { t.Fatalf("bytepool size invalid: got %v want %v", len(bp.c), size) } // lets drain the buf channel first before we validate invalid buffers. for i := uint64(0); i < size; i++ { bp.Get() // discard } // Try putting some invalid buffers into pool bp.Put(make([]byte, bp.w, bp.wcap-1)) // wrong capacity is rejected (less)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 2.8K bytes - Viewed (0) -
internal/logger/target/kafka/kafka.go
initKafkaOnce once.Init initQueueStoreOnce once.Init client sarama.Client producer sarama.SyncProducer kconfig Config config *sarama.Config } func (h *Target) validate() error { if len(h.kconfig.Brokers) == 0 { return errors.New("no broker address found") } for _, b := range h.kconfig.Brokers { if _, err := xnet.ParseHost(b.String()); err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 10.2K bytes - Viewed (0) -
internal/jwt/parser_test.go
} if data.valid && err != nil { t.Errorf("Error while verifying token: %T:%v", err, err) } if !data.valid && err == nil { t.Errorf("Invalid token passed validation") } if data.errors != 0 { _, ok := err.(*jwt.ValidationError) if !ok { t.Errorf("Expected *jwt.ValidationError, but got %#v instead", err) } } }) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Nov 05 19:20:08 UTC 2021 - 6K bytes - Viewed (0) -
src/main/assemblies/files/fess.in.sh
FESS_MAX_MEM=$FESS_HEAP_SIZE fi # External opensearch cluster #SEARCH_ENGINE_HTTP_URL=http://localhost:9200 #FESS_DICTIONARY_PATH=/var/lib/opensearch/config/ # SSL truststore for certificate validation over https #FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Djavax.net.ssl.trustStore=/tech/elastic/config/truststore.jks" #FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Djavax.net.ssl.trustStorePassword=changeit"
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Jan 15 06:32:15 UTC 2023 - 4.7K bytes - Viewed (0) -
docs/en/docs/tutorial/header-params.md
``` //// ## Declare `Header` parameters Then declare the header parameters using the same structure as with `Path`, `Query` and `Cookie`. You can define the default value as well as all the extra validation or annotation parameters: //// tab | Python 3.10+ ```Python hl_lines="9" {!> ../../docs_src/header_params/tutorial001_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="9"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.6K bytes - Viewed (0) -
cmd/warm-backend-s3.go
} func newWarmBackendS3(conf madmin.TierS3, tier string) (*warmBackendS3, error) { u, err := url.Parse(conf.Endpoint) if err != nil { return nil, err } // Validation code switch { case conf.AWSRoleWebIdentityTokenFile == "" && conf.AWSRoleARN != "" || conf.AWSRoleWebIdentityTokenFile != "" && conf.AWSRoleARN == "":
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 5.7K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.18.md
### Bug or Regression - EndpointSlice IP validation now matches Endpoints IP validation. ([#101084](https://github.com/kubernetes/kubernetes/pull/101084), [@robscott](https://github.com/robscott)) [SIG Apps and Network]
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Wed Jun 16 17:18:28 UTC 2021 - 373.2K bytes - Viewed (0) -
tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 9.8K bytes - Viewed (0)