Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 1,804 for request_ (0.05 sec)

  1. okhttp/src/test/java/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt

      fun testBasicAuth() {
        fakeDns["server"] = listOf(InetAddress.getLocalHost())
    
        val route = factory.newRoute()
    
        val request =
          Request.Builder()
            .url("https://server/robots.txt")
            .build()
        val response =
          Response.Builder()
            .request(request)
            .code(401)
            .header("WWW-Authenticate", "Basic realm=\"User Visible Realm\"")
            .protocol(HTTP_2)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            // read and validate raw model
            Model fileModel = readFileModel(request, problems);
    
            request.setFileModel(fileModel);
            result.setFileModel(fileModel.clone());
    
            activateFileModel(request, result, problems);
    
            if (!request.isTwoPhaseBuilding()) {
                return build(request, result, importIds);
            } else if (hasModelErrors(problems)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java

        try (Response response = client.newCall(request).execute()) {
          System.out.println(response.request().header("Date"));
        }
      }
    
      static class CurrentDateInterceptor implements Interceptor {
        @Override public Response intercept(Chain chain) throws IOException {
          Request request = chain.request();
          Headers newHeaders = request.headers()
              .newBuilder()
              .add("Date", new Date())
              .build();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Oct 31 15:32:50 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/ModelValidator.java

         *
         * @param model The model to validate, must not be {@code null}.
         * @param request The model building request that holds further settings, must not be {@code null}.
         * @param problems The container used to collect problems that were encountered, must not be {@code null}.
         */
        default void validateFileModel(Model model, ModelBuildingRequest request, ModelProblemCollector problems) {
            // do nothing
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java

        }
    
        @Override public Response intercept(Chain chain) throws IOException {
          Request request = chain.request();
          if (request.url().host().equals(host)) {
            request = request.newBuilder()
                .header("Authorization", credentials)
                .build();
          }
          return chain.proceed(request);
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Nov 05 07:46:46 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  6. helm/minio/README.md

    ### Installing the Chart (toy-setup)
    
    Minimal toy setup for testing purposes can be deployed using:
    
    ```bash
    helm install --set resources.requests.memory=512Mi --set replicas=1 --set persistence.enabled=false --set mode=standalone --set rootUser=rootuser,rootPassword=rootpass123 --generate-name minio/minio
    ```
    
    ### Upgrading the Chart
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 24 07:27:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

            ModelBuilderRequestBuilder(ModelBuilderRequest request) {
                this.session = request.getSession();
                this.requestType = request.getRequestType();
                this.locationTracking = request.isLocationTracking();
                this.recursive = request.isRecursive();
                this.source = request.getSource();
                this.profiles = request.getProfiles();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            String xml = new DefaultToolchainsXmlFactory().toXmlString(persistedToolchains.getDelegate());
            ToolchainsBuildingRequest request = new DefaultToolchainsBuildingRequest();
            request.setUserToolchainsSource(new StringSource(xml));
    
            ToolchainsBuildingResult result = toolchainBuilder.build(request);
            assertNotNull(result.getEffectiveToolchains());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. cmd/api-response_test.go

    	"testing"
    )
    
    // Tests object location.
    func TestObjectLocation(t *testing.T) {
    	testCases := []struct {
    		request          *http.Request
    		bucket, object   string
    		domains          []string
    		expectedLocation string
    	}{
    		// Server binding to localhost IP with https.
    		{
    			request: &http.Request{
    				Host: "127.0.0.1:9000",
    				Header: map[string][]string{
    					"X-Forwarded-Scheme": {httpScheme},
    				},
    			},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

        public static String[] getParamValueArray(final HttpServletRequest request, final String param) {
            return simplifyArray(request.getParameterValues(param));
        }
    
        protected FacetInfo createFacetInfo(final HttpServletRequest request) {
            final String[] fields = getParamValueArray(request, "facet.field");
            final String[] queries = getParamValueArray(request, "facet.query");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top