Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for request_uri (0.08 sec)

  1. src/main/webapp/WEB-INF/view/error/redirect.jsp

    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());
    if("systemError".equals(type)) {
    	if(requestUri != null && !requestUri.endsWith("systemError")) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/main/webapp/WEB-INF/orig/view/error/redirect.jsp

    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());
    if("systemError".equals(type)) {
    	if(requestUri != null && !requestUri.endsWith("systemError")) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

            assertEquals(1, testListener.requestCount);
            assertEquals(0, testListener.exceptionCount);
            assertEquals(1, testListener.endCount);
            assertEquals(url, testListener.requestUrl);
            assertEquals(Constants.GET_METHOD, testListener.requestMethod);
            assertNull(testListener.exceptionUrl);
            assertEquals(1, testClient.count);
            assertEquals(url, response.getUrl());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. cmd/utils_test.go

    	expectedRequestURI := "/?" + expectedQuery.Encode()
    	if !reflect.DeepEqual(res.RequestURI, expectedRequestURI) {
    		t.Fatalf("Expected %#v, got %#v", expectedRequestURI, res.RequestURI)
    	}
    
    	// Look for expected header.
    	expectedHeader := http.Header{}
    	expectedHeader.Set("content-md5", "====test")
    	expectedHeader.Set("host", "localhost:9000")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt

        handshake: Handshake?,
        requestUrl: HttpUrl?,
      ) {
        this.requestLine = requestLine
        this.headers = headers
        this.chunkSizes = chunkSizes
        this.bodySize = bodySize
        this.body = body
        this.sequenceNumber = sequenceNumber
        this.failure = failure
        this.method = method
        this.path = path
        this.handshake = handshake
        this.requestUrl = requestUrl
      }
    
      @JvmOverloads
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

            localPort = 80,
          )
        val request = RecordedRequest("GET / HTTP/1.1", headers, emptyList(), 0, Buffer(), 0, socket)
        assertThat(request.requestUrl.toString()).isEqualTo("http://127.0.0.1/")
      }
    
      @Test fun testIpv6() {
        val socket =
          FakeSocket(
            localAddress =
              InetAddress.getByAddress(
                "::1",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt

        assertThat(recordedRequest.requestUrl!!.host).isEqualTo("header-host")
        assertThat(recordedRequest.handshakeServerNames).containsExactly("url-host.com")
      }
    
      /** No SNI for literal IPv6 addresses. */
      @Test
      fun ipv6() {
        val recordedRequest = requestToHostnameViaProxy("2607:f8b0:400b:804::200e")
        assertThat(recordedRequest.requestUrl!!.host).isEqualTo("2607:f8b0:400b:804::200e")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. cmd/signature-v2.go

    //
    // returns ErrNone if matches. S3 errors otherwise.
    func doesPresignV2SignatureMatch(r *http.Request) APIErrorCode {
    	// r.RequestURI will have raw encoded URI as sent by the client.
    	tokens := strings.SplitN(r.RequestURI, "?", 2)
    	encodedResource := tokens[0]
    	encodedQuery := ""
    	if len(tokens) == 2 {
    		encodedQuery = tokens[1]
    	}
    
    	var (
    		filteredQueries []string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

          "GET /a/deep/path?key=foo%20bar HTTP/1.1",
        )
        val requestUrl = request.requestUrl
        assertThat(requestUrl!!.scheme).isEqualTo("http")
        assertThat(requestUrl.host).isEqualTo(server.hostName)
        assertThat(requestUrl.port).isEqualTo(server.port)
        assertThat(requestUrl.encodedPath).isEqualTo("/a/deep/path")
        assertThat(requestUrl.queryParameter("key")).isEqualTo("foo bar")
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

          "GET /a/deep/path?key=foo%20bar HTTP/1.1",
        )
        val requestUrl = request.requestUrl
        assertThat(requestUrl!!.scheme).isEqualTo("http")
        assertThat(requestUrl.host).isEqualTo(server.hostName)
        assertThat(requestUrl.port).isEqualTo(server.port)
        assertThat(requestUrl.encodedPath).isEqualTo("/a/deep/path")
        assertThat(requestUrl.queryParameter("key")).isEqualTo("foo bar")
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top