Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 323 for redirected (0.1 sec)

  1. docs/features/events.md

    ### EventListener
    
    Subclass [EventListener](https://square.github.io/okhttp/3.x/okhttp/okhttp3/EventListener.html) and override methods for the events you are interested in. In a successful HTTP call with no redirects or retries the sequence of events is described by this flow.
    
    ![Events Diagram](../assets/images/******@****.***)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        assertContent("c", getResponse(newRequest("/a")))
        val challengeResponse = authenticator.responses[0]
        assertThat(challengeResponse.request.url.toUrl().path).isEqualTo("/b")
        val redirectedBy = challengeResponse.priorResponse
        assertThat(redirectedBy!!.request.url.toUrl().path).isEqualTo("/a")
      }
    
      @Test
      fun attemptAuthorization20Times() {
        for (i in 0..19) {
          server.enqueue(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  3. 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
        }
    
        protected void asyncImport(final String fileName, final File tempFile) {
            final int fileType;
            if (fileName.startsWith("system") && fileName.endsWith(".properties")) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  4. 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:
    
    ```Python hl_lines="2  9"
    {!../../docs_src/custom_response/tutorial006.py!}
    ```
    
    ---
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. docs/sts/web-identity.go

    		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 {
    			http.Redirect(w, r, implicitFlowURL(config, state), http.StatusFound)
    		}
    	})
    
    	http.HandleFunc("/oauth2/callback", func(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

    import static org.junit.Assert.assertTrue;
    
    import com.google.common.testing.EqualsTester;
    import java.util.Set;
    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing undirected {@link Graph} implementations defined in this package.
     */
    public abstract class AbstractStandardUndirectedGraphTest extends AbstractGraphTest {
    
      @After
      public void validateUndirectedEdges() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/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")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/custom-response.md

    {!../../docs_src/custom_response/tutorial001.py!}
    ```
    
    /// tip
    
    It's possible that `ORJSONResponse` might be a faster alternative.
    
    ///
    
    ### `RedirectResponse`
    
    Returns an HTTP redirect. Uses a 307 status code (Temporary Redirect) by default.
    
    You can return a `RedirectResponse` directly:
    
    ```Python hl_lines="2  9"
    {!../../docs_src/custom_response/tutorial006.py!}
    ```
    
    ---
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/custom-docs-ui-assets.md

    Swagger UI will handle it behind the scenes for you, but it needs this "redirect" helper.
    
    ///
    
    ### Create a *path operation* to test it
    
    Now, to be able to test that everything works, create a *path operation*:
    
    {* ../../docs_src/custom_docs_ui/tutorial001.py hl[36:38] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:42:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

        //                                                                           =========
    
        protected HtmlResponse asDictIndexHtml() {
            return redirect(AdminDictAction.class);
        }
    
        private HtmlResponse asListHtml(final String dictId) {
            return asHtml(path_AdminDictStopwords_AdminDictStopwordsJsp).renderWith(data -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top