Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 595 for validate (0.03 sec)

  1. cmd/admin-handlers-users.go

    	if err = json.Unmarshal(reqBytes, &updateReq); err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrAdminConfigBadJSON, err), r.URL)
    		return
    	}
    
    	if err := updateReq.Validate(); err != nil {
    		// Since this validation would happen client side as well, we only send
    		// a generic error message here.
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminResourceInvalidArgument), r.URL)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/body.md

    ## Results { #results }
    
    With just that Python type declaration, **FastAPI** will:
    
    * Read the body of the request as JSON.
    * Convert the corresponding types (if needed).
    * Validate the data.
        * If the data is invalid, it will return a nice and clear error, indicating exactly where and what was the incorrect data.
    * Give you the received data in the parameter `item`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:58:56 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. cmd/api-headers.go

    			// mime package in MinIO, which correctly encodes strings with fixed B/Q encodings,
    			// avoiding S3’s heuristic-driven issues.
    			//
    			// For MinIO developers, decode S3 metadata with mime.WordDecoder, validate outputs,
    			// report encoding bugs to AWS, and use ASCII-only metadata to ensure reliable S3 API
    			// compatibility.
    			if needsMimeEncoding(v) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. cmd/os-readdir_test.go

    	// Setup and capture test results for directory with files and symlink.
    	testResults = append(testResults, setupTestReadDirSymlink(t)...)
    
    	// Remove all dirs once tests are over.
    	defer teardown(testResults)
    
    	// Validate all the results.
    	for _, r := range testResults {
    		if entries, err := readDir(r.dir); err != nil {
    			t.Fatal("failed to run test.", err)
    		} else {
    			// Keep entries sorted for easier comparison.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

        /**
         * Function code to trim file level storage
         */
        public static final int FSCTL_FILE_LEVEL_TRIM = 0x00098208;
        /**
         * Function code to validate SMB2 negotiate information
         */
        public static final int FSCTL_VALIDATE_NEGOTIATE_INFO = 0x000140204;
    
        /**
         * Flag indicating this IOCTL is a file system control operation
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. docs/sts/wso2.md

    Using the above `id_token` we can perform an STS request to MinIO to get temporary credentials for MinIO API operations. MinIO STS API uses [JSON Web Key Set Endpoint](https://docs.wso2.com/display/IS541/JSON+Web+Key+Set+Endpoint) to validate if JWT is valid and is properly signed.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. cmd/object-api-utils_test.go

    	for i := range parts {
    		if errs[i] == nil {
    			if parts[i].Name == objectName {
    				t.Errorf("path traversal allowed to allow writing to minioMetaBucket: %s", instanceType)
    			}
    		}
    	}
    }
    
    // Tests validate bucket name.
    func TestIsValidBucketName(t *testing.T) {
    	testCases := []struct {
    		bucketName string
    		shouldPass bool
    	}{
    		// cases which should pass the test.
    		// passing in valid bucket names.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            verify(treeConnection, times(2)).isSame(otherConn);
        }
    
        @Test
        @DisplayName("Buffer sizes and signing flags from negotiate response")
        void bufferSizesAndSigning() throws Exception {
            // Validate buffer sizes and signing flag are read from negotiate response
            SmbNegotiationResponse nego = mock(SmbNegotiationResponse.class);
            when(transport.getNegotiateResponse()).thenReturn(nego);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ldap/LdapManager.java

         * Updates the LDAP configuration.
         */
        public void updateConfig() {
            isBind = false;
        }
    
        /**
         * Validates the LDAP connection.
         *
         * @return True if the LDAP connection is valid, otherwise false.
         */
        protected boolean validate() {
            if (!isBind) {
                if (fessConfig.getLdapAdminSecurityPrincipal() == null || fessConfig.getLdapAdminSecurityCredentials() == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  10. docs/en/docs/index.md

        * Swagger UI.
        * ReDoc.
    
    ---
    
    Coming back to the previous code example, **FastAPI** will:
    
    * Validate that there is an `item_id` in the path for `GET` and `PUT` requests.
    * Validate that the `item_id` is of type `int` for `GET` and `PUT` requests.
        * If it is not, the client will see a useful, clear error.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
Back to top