Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 572 for performGet (2.13 sec)

  1. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/DeprecatedTLSVersionTest.groovy

            // Thus, we don't need to add the `expect('/test')` to the server for this test to work correctly.
            when:
            client.performGet("${server.getUri()}/test", false)
            then:
            HttpRequestException exception = thrown()
            exception.message.startsWith("Could not GET '")
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpClientHelperSSLTest.groovy

            createClient()
            client.performGet("${server.getUri()}/test", false)
    
            then:
            thrown(Exception)
    
            when:
            client.close()
            System.properties["javax.net.ssl.keyStore"] = "will-not-exist"
            createClient()
            client.performGet("${server.getUri()}/test", false)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 05:29:07 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. platforms/software/resources-http/src/integTest/groovy/org/gradle/internal/resource/transport/http/HttpResourceAccessorIntegrationTest.groovy

        def name = new ExternalResourceName(uri)
    
        @Issue("GRADLE-3574")
        def "should not generate any concurrent exception"() {
            def http = Mock(HttpClientHelper) {
                performGet(uri.toString(), _) >> Mock(HttpClientResponse)
            }
            def httpResourceAccessor = new HttpResourceAccessor(http)
    
            when:
            10.times {
                concurrent.start {
                    100.times {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpResourceAccessor.java

            String uri = location.getUri().toString();
            LOGGER.debug("Constructing external resource: {}", location);
    
            HttpClientResponse response = http.performGet(uri, revalidate);
            return wrapResponse(location.getUri(), response);
        }
    
        /**
         * Same as #getResource except that it always gives access to the response body,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. platforms/software/resources-http/src/integTest/groovy/org/gradle/internal/resource/transport/http/CookieHeaderTest.groovy

            httpServer.start()
            httpServer.expect("/cookie", ['GET'],
                new RespondWithCookieAction("some", attributes))
            when:
            client.performGet("${httpServer.address}/cookie", false)
    
            then:
            listener.events*.message.forEach { assert !it.contains('Invalid cookie header:') }
    
            where:
            attributes << [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientHelper.java

        /**
         * Maintains a queue of contexts which are shared between threads when authentication
         * is activated. When a request is performed, it will pick a context from the queue,
         * and create a new one whenever it's not available (which either means it's the first request
         * or that other requests are being performed concurrently). The queue will grow as big as
         * the max number of concurrent requests executed.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. pkg/apis/admission/types.go

    	// Defaults to false.
    	// +optional
    	DryRun *bool
    	// Options is the operation option structure of the operation being performed.
    	// e.g. `meta.k8s.io/v1.DeleteOptions` or `meta.k8s.io/v1.CreateOptions`. This may be
    	// different than the options the caller provided. e.g. for a patch request the performed
    	// Operation might be a CREATE, in which case the Options will a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 01 16:14:06 UTC 2020
    - 7.8K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/admission/v1/generated.proto

      // +optional
      optional bool dryRun = 11;
    
      // Options is the operation option structure of the operation being performed.
      // e.g. `meta.k8s.io/v1.DeleteOptions` or `meta.k8s.io/v1.CreateOptions`. This may be
      // different than the options the caller provided. e.g. for a patch request the performed
      // Operation might be a CREATE, in which case the Options will a
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/admission/v1beta1/generated.proto

      // +optional
      optional bool dryRun = 11;
    
      // Options is the operation option structure of the operation being performed.
      // e.g. `meta.k8s.io/v1.DeleteOptions` or `meta.k8s.io/v1.CreateOptions`. This may be
      // different than the options the caller provided. e.g. for a patch request the performed
      // Operation might be a CREATE, in which case the Options will a
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/admission/v1/generated.proto

      // +optional
      optional bool dryRun = 11;
    
      // Options is the operation option structure of the operation being performed.
      // e.g. `meta.k8s.io/v1.DeleteOptions` or `meta.k8s.io/v1.CreateOptions`. This may be
      // different than the options the caller provided. e.g. for a patch request the performed
      // Operation might be a CREATE, in which case the Options will a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top