Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 192 for redirectTo (0.1 sec)

  1. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                logger.error("Failed to write an image file: {}", fileName, e);
                throwValidationError(messages -> messages.addErrorsFailedToWriteDesignImageFile(GLOBAL), this::asListHtml);
            }
            return redirect(getClass());
        }
    
        private boolean checkFileType(final String fileName, final String[] exts) {
            if (fileName == null) {
                return false;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. cmd/generic-handlers.go

    		if !guessIsHealthCheckReq(r) && guessIsBrowserReq(r) && read && globalBrowserRedirect {
    			// Fetch the redirect location if any.
    			if u := getRedirectLocation(r); u != nil {
    				// Employ a temporary re-direct.
    				http.Redirect(w, r, u.String(), http.StatusTemporaryRedirect)
    				return
    			}
    		}
    		h.ServeHTTP(w, r)
    	})
    }
    
    var redirectPrefixes = map[string]struct{}{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_custom_response/test_tutorial006b.py

        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/fastapi": {
                    "get": {
                        "summary": "Redirect Fastapi",
                        "operationId": "redirect_fastapi_fastapi_get",
                        "responses": {"307": {"description": "Successful Response"}},
                    }
                }
            },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 899 bytes
    - Viewed (0)
  5. docs/sts/dex.md

          "Effect": "Allow",
          "Action": [
            "s3:*"
          ],
          "Resource": [
            "arn:aws:s3:::*"
          ]
        }
      ]
    }
    ```
    
    ### Visit <http://localhost:8080>
    
    You will be redirected to dex login screen - click "Login with email", enter username password
    > username: ******@****.***
    > password: password
    
    and then click "Grant access"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 21 06:38:06 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

                }
            }).orElse(() -> {
                throwValidationError(messages -> messages.addErrorsCrudFailedToCreateInstance(GLOBAL), this::asEditHtml);
            });
            return redirect(getClass());
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse update(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.EDIT);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java

                }
            }).orElse(() -> {
                throwValidationError(messages -> messages.addErrorsCrudFailedToCreateInstance(GLOBAL), this::asEditHtml);
            });
            return redirect(getClass());
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse update(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.EDIT);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/logout/LogoutAction.java

            userInfoHelper.deleteUserCodeFromCookie(request);
            if (StringUtil.isNotBlank(redirectUrl)) {
                return HtmlResponse.fromRedirectPathAsIs(redirectUrl);
            }
            return redirect(LoginAction.class);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. cmd/globals.go

    	globalIsTesting = false
    
    	// This flag is set to 'true' by default
    	globalBrowserEnabled = true
    
    	// Custom browser redirect URL, not set by default
    	// and it is automatically deduced.
    	globalBrowserRedirectURL *xnet.URL
    
    	// Disable redirect, default is enabled.
    	globalBrowserRedirect bool
    
    	// globalBrowserConfig Browser user configurable settings
    	globalBrowserConfig browser.Config
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt

    package okhttp3
    
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Socket
    import java.net.SocketAddress
    import okhttp3.internal.platform.Platform
    
    /**
     * A [SocketFactory] that redirects connections to [defaultAddress] or specific overridden address via [set].
     */
    class SpecificHostSocketFactory(
      val defaultAddress: InetSocketAddress?,
    ) : DelegatingSocketFactory(getDefault()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top