Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 347 for revalidate (0.06 sec)

  1. cmd/server-main.go

    	v, _, _, err := env.LookupEnv(config.EnvArgs)
    	if err != nil {
    		logger.FatalIf(err, "Unable to validate passed arguments in %s:%s",
    			config.EnvArgs, os.Getenv(config.EnvArgs))
    	}
    	if v == "" {
    		v, _, _, err = env.LookupEnv(config.EnvVolumes)
    		if err != nil {
    			logger.FatalIf(err, "Unable to validate passed arguments in %s:%s",
    				config.EnvVolumes, os.Getenv(config.EnvVolumes))
    		}
    	}
    	if v == "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
  2. cmd/admin-handlers-idp-ldap.go

    		return
    	}
    
    	// Validate operation
    	operation := mux.Vars(r)["operation"]
    	if operation != "attach" && operation != "detach" {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminInvalidArgument), r.URL)
    		return
    	}
    
    	isAttach := operation == "attach"
    
    	// Validate API arguments in body.
    	password := cred.SecretKey
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:46:04 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  3. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    
    /**
     * Apache HttpClient 5.x.
     *
     * https://hc.apache.org/httpcomponents-client-5.0.x/index.html
     *
     * Baseline test if we ned to validate OkHttp behaviour against other popular clients.
     */
    class ApacheHttpClientTest {
      private val httpClient = HttpClients.createDefault()
    
      @StartStop
      private val server = MockWebServer()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

            // Act & Assert: attempting to call any method on null should throw NPE
            Assertions.assertThrows(NullPointerException.class, () -> {
                // Intentionally dereference null to validate exception behavior
                // This checks that callers must handle null references defensively
                info.getSize();
            });
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/CredentialsInternalTest.java

            }
    
            @Override
            public SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning)
                    throws SmbException {
                // Validate required argument and interact with the provided CIFSContext
                if (tc == null) {
                    throw new NullPointerException("tc");
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/config/PropertyConfigurationTest.java

            assertEquals("childuser", testConfig.getDefaultUsername()); // Overridden
            assertEquals("parentdomain", testConfig.getDefaultDomain()); // Inherited
        }
    
        @Test
        @DisplayName("Should validate configuration consistency")
        void testConfigurationValidation() throws CIFSException {
            // Given
            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.minVersion", "SMB311");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. cmd/signature-v2_test.go

    			if errCode != testCase.expected {
    				t.Errorf("(%d) expected to get success, instead got %s", i, niceError(errCode))
    			}
    		}
    	}
    }
    
    // TestValidateV2AuthHeader - Tests validate the logic of V2 Authorization header validator.
    func TestValidateV2AuthHeader(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

            }
            return true;
        }
    
        /**
         * Checks if the given value matches any of the specified protocols.
         *
         * @param protocols the allowed protocols
         * @param value the URI string to validate
         * @return true if the value matches allowed protocols, false otherwise
         */
        protected static boolean check(final String[] protocols, final String value) {
            final String[] paths = value.split("[\r\n]");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            Address address = nameServiceClient.getByName("localhost", false);
    
            // Then
            assertNotNull(address, "Should return address for localhost");
        }
    
        @Test
        @DisplayName("Should validate context configuration access")
        void testContextAccess() {
            // When
            NameServiceClientImpl client = new NameServiceClientImpl(mockContext);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/middleware.md

    * `www_redirect` - If set to True, requests to non-www versions of the allowed hosts will be redirected to their www counterparts. Defaults to `True`.
    
    If an incoming request does not validate correctly then a `400` response will be sent.
    
    ## `GZipMiddleware` { #gzipmiddleware }
    
    Handles GZip responses for any request that includes `"gzip"` in the `Accept-Encoding` header.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:59:07 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top