Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

      }
    
      private fun executeSynchronously(request: Request): RecordedResponse {
        val call = client.newCall(request)
        return try {
          val response = call.execute()
          val bodyString = response.body.string()
          RecordedResponse(request, response, null, bodyString, null)
        } catch (e: IOException) {
          RecordedResponse(request, null, null, null, e)
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue May 14 17:48:07 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. okhttp/src/main/kotlin/okhttp3/Response.kt

       *
       * Use the `request` of the [networkResponse] field to get the wire-level request that was
       * transmitted. In the case of follow-ups and redirects, also look at the `request` of the
       * [priorResponse] objects, which have its own [priorResponse].
       */
      @get:JvmName("request") val request: Request,
      /** Returns the HTTP protocol, such as [Protocol.HTTP_1_1] or [Protocol.HTTP_1_0]. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top