Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 1,520 for Requests (0.16 sec)

  1. cmd/bucket-listobjects-handlers.go

    // Special conditions required by MinIO server are as below
    //   - delimiter if set should be equal to '/', otherwise the request is rejected.
    //   - marker if set should have a common prefix with 'prefix' param, otherwise
    //     the request is rejected.
    func validateListObjectsArgs(prefix, marker, delimiter, encodingType string, maxKeys int) APIErrorCode {
    	// Max keys cannot be negative.
    	if maxKeys < 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/ConscryptTest.kt

        assumeNetwork()
    
        val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
    
        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
        }
      }
    
      @Test
      @Disabled
      fun testGoogle() {
        assumeNetwork()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java

            assertNotNull(builder);
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setProcessPlugins(true);
            request.setPomFile(getPom("complex"));
            request.setSystemProperties(sysProperties);
    
            ModelBuildingResult result = builder.build(request);
            assertNotNull(result);
            assertNotNull(result.getEffectiveModel());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/guide/PostExample.java

      String post(String url, String json) throws IOException {
        RequestBody body = RequestBody.create(json, JSON);
        Request request = new Request.Builder()
            .url(url)
            .post(body)
            .build();
        try (Response response = client.newCall(request).execute()) {
          return response.body().string();
        }
      }
    
      String bowlingJson(String player1, String player2) {
        return "{'winCondition':'HIGH_SCORE',"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            ModelBuilderRequest.ModelBuilderRequestBuilder request = ModelBuilderRequest.builder();
            request.requestType(ModelBuilderRequest.RequestType.CONSUMER_POM);
            request.session(iSession);
            // in order to resolve parents, we need to fake being at the correct location
            request.source(new PomConsumerModelSource(project.getModel().getPomPath(), src));
            request.locationTracking(false);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java

            }
            return Integer.toString(n);
          }
        };
    
        Request request = new Request.Builder()
            .url("https://api.github.com/markdown/raw")
            .post(requestBody)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/OpenJSSETest.kt

        this.server = server
        platform.assumeOpenJSSE()
      }
    
      @Test
      fun testTlsv13Works() {
        enableTls()
    
        server.enqueue(MockResponse(body = "abc"))
    
        val request = Request(server.url("/"))
    
        val response = client.newCall(request).execute()
    
        response.use {
          assertEquals(200, response.code)
          assertEquals(TlsVersion.TLS_1_3, response.handshake?.tlsVersion)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/error/redirect.jsp

    <% 
    Integer statusCode = (Integer)request.getAttribute("jakarta.servlet.error.status_code");
    String servletName = (String)request.getAttribute("jakarta.servlet.error.servlet_name");
    String requestUri = (String)request.getAttribute("jakarta.servlet.error.request_uri");
    String type = request.getParameter("type");
    StringBuilder redirectPage = new StringBuilder();
    redirectPage.append(((jakarta.servlet.http.HttpServletRequest)request).getContextPath());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/orig/view/error/redirect.jsp

    <% 
    Integer statusCode = (Integer)request.getAttribute("jakarta.servlet.error.status_code");
    String servletName = (String)request.getAttribute("jakarta.servlet.error.servlet_name");
    String requestUri = (String)request.getAttribute("jakarta.servlet.error.request_uri");
    String type = request.getParameter("type");
    StringBuilder redirectPage = new StringBuilder();
    redirectPage.append(((jakarta.servlet.http.HttpServletRequest)request).getContextPath());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

                public static boolean isMultipartRequest(HttpServletRequest request) {
                    return request.getContentType() != null && request.getContentType().startsWith(MULTIPART_FORMDATA_TYPE);
                }
    
                @Override
                public void handle(String target, HttpServletRequest request, HttpServletResponse response, int dispatch)
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top