Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,518 for REQUEST (0.04 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

      private var canceled = false
    
      override fun createRequestBody(
        request: Request,
        contentLength: Long,
      ): Sink {
        return stream!!.getSink()
      }
    
      override fun writeRequestHeaders(request: Request) {
        if (stream != null) return
    
        val hasRequestBody = request.body != null
        val requestHeaders = http2HeadersList(request)
        stream = http2Connection.newStream(requestHeaders, hasRequestBody)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            SettingsBuildingRequest request = new DefaultSettingsBuildingRequest();
            request.setUserSettingsFile(userSettingsFile);
            request.setGlobalSettingsFile(globalSettingsFile);
            request.setSystemProperties(SystemProperties.getSystemProperties());
            return build(request);
        }
    
        public Settings buildSettings(File userSettingsFile, boolean useCachedSettings)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            request.isBroadcast = request.addr == null || isBroadcastAddress(request.addr);
    
            if ( request.isBroadcast ) {
                if ( request.addr == null ) {
                    request.addr = this.baddr;
                }
                n = config.getNetbiosRetryCount();
            }
            else {
                n = 1;
            }
    
            do {
                try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  4. cmd/auth-handler_test.go

    	}
    
    	globalActiveCred = creds
    	testCases := []struct {
    		Request *http.Request
    		ErrCode APIErrorCode
    	}{
    		{Request: mustNewRequest(http.MethodGet, "http://127.0.0.1:9000", 0, nil, t), ErrCode: ErrAccessDenied},
    		{Request: mustNewSignedRequest(http.MethodGet, "http://127.0.0.1:9000", 0, nil, t), ErrCode: ErrNone},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. cmd/bucket-policy-handlers_test.go

    		t.Fatalf("MinIO %s: Failed to create an anonymous request for bucket \"%s\": <ERROR> %v",
    			instanceType, bucketName, err)
    	}
    
    	// ExecObjectLayerAPIAnonTest - Calls the HTTP API handler using the anonymous request, validates the ErrAccessDeniedResponse,
    	// sets the bucket policy using the policy statement generated from `getWriteOnlyObjectStatement` so that the
    	// unsigned request goes through and its validated again.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/jcifs/smb1/smb1/SmbSession.java

                }
            }
    
            request.uid = uid;
            request.auth = auth;
            try {
                transport.send( request, response );
            } catch (SmbException se) {
                if (request instanceof SmbComTreeConnectAndX) {
                    logoff(true);
                }
                request.digest = null;
                throw se;
            }
    }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  8. 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)
  9. internal/handlers/forwarder.go

    	if f.Logger != nil && err != context.Canceled {
    		f.Logger(err)
    	}
    	w.WriteHeader(http.StatusBadGateway)
    }
    
    func (f *Forwarder) getURLFromRequest(req *http.Request) *url.URL {
    	// If the Request was created by Go via a real HTTP request,  RequestURI will
    	// contain the original query string. If the Request was created in code, RequestURI
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 07 05:42:10 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. 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)
Back to top