- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for request_uri (0.06 sec)
-
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) -
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) -
internal/handlers/forwarder.go
// 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 // will be empty, and we will use the URL object instead u := req.URL if req.RequestURI != "" { parsedURL, err := url.ParseRequestURI(req.RequestURI) if err == nil { u = parsedURL } } return u }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 07 05:42:10 UTC 2023 - 5.6K bytes - Viewed (0) -
cmd/signature-v2_test.go
if err != nil { t.Errorf("(%d) failed to create http.Request, got %v", i, err) } if testCase.expected != ErrNone { // Should be set since we are simulating a http server. req.RequestURI = req.URL.RequestURI() // Check if it matches! errCode := doesPresignV2SignatureMatch(req) if errCode != testCase.expected {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 14 10:08:40 UTC 2022 - 8K bytes - Viewed (0) -
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) -
samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java
@Override public MockResponse dispatch(RecordedRequest request) { HttpUrl requestUrl = mockWebServer.url(request.getPath()); String code = requestUrl.queryParameter("code"); String stateString = requestUrl.queryParameter("state"); ByteString state = stateString != null ? ByteString.decodeBase64(stateString) : null; Listener listener;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 3.8K bytes - Viewed (0) -
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) -
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) -
docs/sts/web-identity.go
Scopes: scopes, } state := randomState() http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { log.Printf("%s %s", r.Method, r.RequestURI) if r.RequestURI != "/" { http.NotFound(w, r) return } if clientSec != "" { http.Redirect(w, r, config.AuthCodeURL(state), http.StatusFound) } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 19 09:13:33 UTC 2023 - 7.8K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
else -> "${inetAddress.hostAddress}:$localPort" } // Allow null in failure case to allow for testing bad requests this.requestUrl = "$scheme://$hostAndPort$path".toHttpUrlOrNull() } else { this.requestUrl = null this.method = null this.path = null } } override fun toString(): String = requestLine
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 3.8K bytes - Viewed (0)