Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 206 for Redirects (0.08 seconds)

  1. 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_py39.py hl[2,9] *}
    
    ---
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  2. docs/de/docs/advanced/custom-response.md

    Möglicherweise ist `ORJSONResponse` eine schnellere Alternative.
    
    ///
    
    ### `RedirectResponse` { #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_py39.py hl[2,9] *}
    
    ---
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt

        @TaskAction
        fun fixProjectHealth() {
            if (!errorLogFile.exists()) {
                println("Error log not found! Run the projectHealth check first and redirect output.")
                return
            }
    
            val dependencyFixes = mutableMapOf<String, MutableList<String>>()
            val dependenciesToRemove = mutableMapOf<String, MutableList<String>>()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Mar 03 06:57:08 GMT 2025
    - 6.2K bytes
    - Click Count (1)
  4. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                throwValidationError(messages -> messages.addErrorsFileIsNotSupported(GLOBAL, fileName), this::asListHtml);
            }
            saveInfo(messages -> messages.addSuccessBulkProcessStarted(GLOBAL));
            return redirect(getClass()); // no-op
        }
    
        /**
         * Import the file asynchronously.
         * @param fileName The file name.
         * @param tempFile The temporary file.
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 32.1K bytes
    - Click Count (0)
  5. 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.
       */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Aug 03 22:38:00 GMT 2025
    - 28K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

                "Test",
                "Redirect from /a to /b",
              ),
            body = "/a has moved!",
          ),
        )
        server.enqueue(
          MockResponse(body = "this is the redirect target"),
        )
    
        val call = client.newCall(Request(server.url("/")))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("this is the redirect target")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 147.4K bytes
    - Click Count (0)
  7. tests/test_application.py

        assert "swagger-ui-dist" in response.text
        assert (
            "oauth2RedirectUrl: window.location.origin + '/docs/oauth2-redirect'"
            in response.text
        )
    
    
    def test_swagger_ui_oauth2_redirect():
        response = client.get("/docs/oauth2-redirect")
        assert response.status_code == 200, response.text
        assert response.headers["content-type"] == "text/html; charset=utf-8"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 51.9K bytes
    - Click Count (0)
  8. 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 */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Jun 21 04:02:44 GMT 2025
    - 26.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

         * @return action response with the storage list or redirect
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public ActionResponse list(final OptionalThing<String> id) {
            saveToken();
            return id.filter(StringUtil::isNotBlank).map(s -> asListHtml(decodePath(s))).orElse(redirect(getClass()));
        }
    
        /**
         * Uploads a file to the storage system.
         *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java

            verifyToken(() -> asHtml(path_AdminGeneral_AdminGeneralJsp));
    
            updateConfig(fessConfig, form);
            saveInfo(messages -> messages.addSuccessUpdateCrawlerParams(GLOBAL));
            return redirect(getClass());
        }
    
        /**
         * Updates the Fess configuration with values from the form.
         *
         * @param fessConfig the Fess configuration to update
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 14.4K bytes
    - Click Count (0)
Back to Top