Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,264 for Invalid (0.08 sec)

  1. tests/test_tutorial/test_dependencies/test_tutorial006_an_py39.py

        response = client.get("/items/", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    @needs_py39
    def test_get_invalid_second_header(client: TestClient):
        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
    - 5.3K bytes
    - Viewed (0)
  2. tests/main_test.go

    		t.Skip("skip sqlserver due to it will raise data race for invalid sql")
    	}
    
    	var columns []string
    	if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	if DB.Model(&User{}).Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

      }
    
      @Test
      fun unparseableTopPrivateDomain() {
        assertInvalid("http://a../", "Invalid URL host: \"a..\"")
        assertInvalid("http://..a/", "Invalid URL host: \"..a\"")
        assertInvalid("http://a..b/", "Invalid URL host: \"a..b\"")
        assertInvalid("http://.a/", "Invalid URL host: \".a\"")
        assertInvalid("http://../", "Invalid URL host: \"..\"")
      }
    
      @Test
      fun hostnameTelephone() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/arch/arm64.go

    		if !isAmount {
    			return errors.New("invalid register extension")
    		}
    		switch ext {
    		case "UXTB":
    			if a.Type == obj.TYPE_MEM {
    				return errors.New("invalid shift for the register offset addressing mode")
    			}
    			a.Reg = arm64.REG_UXTB + Rnum
    		case "UXTH":
    			if a.Type == obj.TYPE_MEM {
    				return errors.New("invalid shift for the register offset addressing mode")
    			}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Sep 29 09:04:58 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  5. src/main/resources/fess_message.properties

    constraints.CreditCardNumber.message        = {item} is invalid credit card number.
    constraints.EAN.message                     = {item} is invalid {type} barcode.
    constraints.Email.message                   = {item} is not a well-formed email address.
    constraints.Length.message                  = Length of {item} must be between {min} and {max}.
    constraints.LuhnCheck.message               = The check digit for ${value} is invalid, Luhn Modulo 10 checksum failed.
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Mar 18 03:05:44 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  6. src/main/resources/fess_message_en.properties

    constraints.CreditCardNumber.message        = {item} is invalid credit card number.
    constraints.EAN.message                     = {item} is invalid {type} barcode.
    constraints.Email.message                   = {item} is not a well-formed email address.
    constraints.Length.message                  = Length of {item} must be between {min} and {max}.
    constraints.LuhnCheck.message               = The check digit for ${value} is invalid, Luhn Modulo 10 checksum failed.
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Mar 18 03:05:44 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_dependencies/test_tutorial012_an.py

        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    def test_get_invalid_one_users():
        response = client.get("/users/", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. internal/crypto/sse-s3.go

    		logger.CriticalIf(context.Background(), Errorf("The seal algorithm '%s' is invalid for SSE-S3", sealedKey.Algorithm))
    	}
    
    	// There are two possibilities:
    	// - We use a KMS -> There must be non-empty key ID and a KMS data key.
    	// - We use a K/V -> There must be no key ID and no KMS data key.
    	// Otherwise, the caller has passed an invalid argument combination.
    	if keyID == "" && len(kmsKey) != 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. docs/iam/policies/pbac-tests.sh

    mc admin policy create myminio/ deny-non-sse-kms-pol ./docs/iam/policies/deny-non-sse-kms-objects.json
    mc admin policy create myminio/ deny-invalid-sse-kms-pol ./docs/iam/policies/deny-objects-with-invalid-sse-kms-key-id.json
    
    mc admin policy attach myminio deny-non-sse-kms-pol --user minio123
    mc admin policy attach myminio deny-invalid-sse-kms-pol --user minio123
    mc admin policy attach myminio consoleAdmin --user minio123
    
    mc mb -l myminio/test-bucket
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 25 01:15:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. internal/s3select/unused-errors.go

    	return &s3Error{
    		code:       "InvalidColumnIndex",
    		message:    "Column index in the SQL expression is invalid.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errInvalidTextEncoding(err error) *s3Error {
    	return &s3Error{
    		code:       "InvalidTextEncoding",
    		message:    "Invalid encoding type. Only UTF-8 encoding is supported.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 20 08:16:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top