Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 614 for REQUEST (0.15 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

        }
    
        /**
         * Returns true if the request contains conditions that save the server from sending a response
         * that the client has locally. When a request is enqueued with its own conditions, the built-in
         * response cache won't be used.
         */
        private fun hasConditions(request: Request): Boolean =
          request.header("If-Modified-Since") != null || request.header("If-None-Match") != null
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  2. cmd/auth-handler.go

    )
    
    // Verify if request has JWT.
    func isRequestJWT(r *http.Request) bool {
    	return strings.HasPrefix(r.Header.Get(xhttp.Authorization), jwtAlgorithm)
    }
    
    // Verify if request has AWS Signature Version '4'.
    func isRequestSignatureV4(r *http.Request) bool {
    	return strings.HasPrefix(r.Header.Get(xhttp.Authorization), signV4Algorithm)
    }
    
    // Verify if request has AWS Signature Version '2'.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactFactory.java

        public Artifact create(@Nonnull ArtifactFactoryRequest request) {
            nonNull(request, "request");
            InternalSession session = InternalSession.from(request.getSession());
            ArtifactType type = null;
            if (request.getType() != null) {
                type = session.getSession().getArtifactTypeRegistry().get(request.getType());
            }
            String str1 = request.getClassifier();
            String classifier =
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

              }
    
              else -> Unit // No request body.
            }
          }
    
          val method = request.substringBefore(' ')
          require(!hasBody || HttpMethod.permitsRequestBody(method)) {
            "Request must not have a body: $request"
          }
        } catch (e: IOException) {
          failure = e
        }
    
        return RecordedRequest(
          requestLine = request,
          headers = headers.build(),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

            this.executionProperties = executionProperties;
            this.request = new DefaultMavenExecutionRequest();
            this.request.setUserProperties(userProperties);
            this.request.setLocalRepository(localRepository);
            this.request.setGoals(goals);
            this.request.setBaseDirectory((executionRootDir != null) ? new File(executionRootDir) : null);
            this.request.setStartTime(startTime);
            this.result = null;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/ProjectBuilder.java

         * @param request The project building request that holds further parameters, must not be {@code null}.
         * @return The result of the project building, never {@code null}.
         * @throws ProjectBuildingException If the project descriptor could not be successfully built.
         */
        ProjectBuildingResult build(File projectFile, ProjectBuildingRequest request) throws ProjectBuildingException;
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactCoordinateFactory.java

        public ArtifactCoordinate create(@Nonnull ArtifactCoordinateFactoryRequest request) {
            nonNull(request, "request");
            InternalSession session = InternalSession.from(request.getSession());
            if (request.getCoordinateString() != null) {
                return new DefaultArtifactCoordinate(
                        session, new org.eclipse.aether.artifact.DefaultArtifact(request.getCoordinateString()));
            } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CacheTest.kt

          ),
        )
      }
    
      @Test
      fun getHasCorrectResponse() {
        val request = Request(server.url("/abc"))
    
        val response = testBasicCachingRules(request)
    
        assertThat(response.request.url).isEqualTo(request.url)
        assertThat(response.cacheResponse!!.request.url).isEqualTo(request.url)
      }
    
      @Test
      fun postWithOverrideResponse() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

            }
          }
    
        // Make the first request waiting until we get our auth challenge.
        val request = Request(server.url("/"))
        blockingAuthClient.newCall(request).enqueue(callback)
        val response1 = responses.take()
        assertThat(response1).isEqualTo("")
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsXmlFactory.java

    @Named
    @Singleton
    public class DefaultSettingsXmlFactory implements SettingsXmlFactory {
        @Override
        public Settings read(@Nonnull XmlReaderRequest request) throws XmlReaderException {
            nonNull(request, "request");
            Reader reader = request.getReader();
            InputStream inputStream = request.getInputStream();
            if (reader == null && inputStream == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top