- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 454 for Redirect (0.06 sec)
-
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
assertThat(reader.readLine()).isEqualTo("This is the new location!") val first = server.takeRequest() assertThat(first.requestLine).isEqualTo("GET / HTTP/1.1") val redirect = server.takeRequest() assertThat(redirect.requestLine).isEqualTo("GET /new-path HTTP/1.1") } /** * Test that MockWebServer blocks for a call to enqueue() if a request is made before a mock * response is ready. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt
import okhttp3.Protocol import okhttp3.internal.http.StatusLine.Companion.parse import org.junit.jupiter.api.Test class StatusLineTest { @Test fun parse() { val message = "Temporary Redirect" val version = 1 val code = 200 val statusLine = parse("HTTP/1.$version $code $message") assertThat(statusLine.message).isEqualTo(message) assertThat(statusLine.protocol).isEqualTo(Protocol.HTTP_1_1)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
docs/de/docs/advanced/custom-response.md
/// tip | Tipp Möglicherweise ist `ORJSONResponse` eine schnellere Alternative. /// ### `RedirectResponse` Gibt eine HTTP-Weiterleitung (HTTP-Redirect) zurück. Verwendet standardmäßig den Statuscode 307 – Temporäre Weiterleitung (Temporary Redirect). Sie können eine `RedirectResponse` direkt zurückgeben: {* ../../docs_src/custom_response/tutorial006.py hl[2,9] *} ---
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 13.1K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
when certificates matched but the DNS addresses did not. This would only occur when following a redirect from one hostname to another, and where both hosts had common certificates. * Fix: Don't fail on a redirect when a client has configured a 'trust everything' trust manager. Typically this would cause certain redirects to fail in debug and development configurations. ## Version 4.4.0 _2020-02-17_
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
cmd/routers.go
// accordingly. Client receives a HTTP error for invalid/unsupported // signatures. // // Validates all incoming requests to have a valid date header. setAuthMiddleware, // Redirect some pre-defined browser request paths to a static location // prefix. setBrowserRedirectMiddleware, // Adds 'crossdomain.xml' policy middleware to serve legacy flash clients. setCrossDomainPolicyMiddleware,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
/// tip It's possible that `ORJSONResponse` might be a faster alternative. /// ### `RedirectResponse` { #redirectresponse } Returns an HTTP redirect. Uses a 307 status code (Temporary Redirect) by default. You can return a `RedirectResponse` directly: {* ../../docs_src/custom_response/tutorial006.py hl[2,9] *} --- Or you can use it in the `response_class` parameter:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.2K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
assertThat(reader.readLine()).isEqualTo("This is the new location!") val first = server.takeRequest() assertThat(first.requestLine).isEqualTo("GET / HTTP/1.1") val redirect = server.takeRequest() assertThat(redirect.requestLine).isEqualTo("GET /new-path HTTP/1.1") } /** * Test that MockWebServer blocks for a call to enqueue() if a request is made before a mock * response is ready. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
public void test_printStackTrace() { // Test printStackTrace doesn't throw exception DictionaryExpiredException exception = new DictionaryExpiredException(); try { // Redirect to ByteArrayOutputStream to avoid console output ByteArrayOutputStream baos = new ByteArrayOutputStream(); java.io.PrintStream ps = new java.io.PrintStream(baos); exception.printStackTrace(ps);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessHtmlPath.java
/** The path of the HTML: /error/notFound.jsp */ HtmlNext path_Error_NotFoundJsp = new HtmlNext("/error/notFound.jsp"); /** The path of the HTML: /error/redirect.jsp */ HtmlNext path_Error_RedirectJsp = new HtmlNext("/error/redirect.jsp"); /** The path of the HTML: /error/system.jsp */ HtmlNext path_Error_SystemJsp = new HtmlNext("/error/system.jsp"); /** The path of the HTML: /footer.jsp */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jun 21 04:02:44 UTC 2025 - 26.3K bytes - Viewed (0) -
docs/changelogs/changelog_1x.md
prevent flakiness from multiple threads concurrently accessing a stream. ## Version 1.5.3 _2014-03-29_ * Fix bug where the Content-Length header was not always dropped when following a redirect from a POST to a GET. * Implement basic support for `Thread.interrupt()`. OkHttp now checks for an interruption before doing a blocking call. If it is interrupted, it throws an `InterruptedIOException`.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 6.4K bytes - Viewed (0)