Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 691 for Redirect (0.05 sec)

  1. docs/sts/casdoor.md

    ### Configure Casdoor
    
    - Go to Applications
      - Create or use an existing Casdoor application
      - Edit the application
        - Copy `Client ID` and `Client secret`
        - Add your redirect url (callback url) to `Redirect URLs`
        - Save
    
    - Go to Users
      - Edit the user
        - Add your MinIO policy (ex: `readwrite`) in `Tag`
        - Save
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 6.6K bytes
    - Viewed (0)
  2. docs/features/interceptors.md

        .build();
    
    Response response = client.newCall(request).execute();
    response.body().close();
    ```
    
    The URL `http://www.publicobject.com/helloworld.txt` redirects to `https://publicobject.com/helloworld.txt`, and OkHttp follows this redirect automatically. Our application interceptor is called **once** and the response returned from `chain.proceed()` has the redirected response:
    
    ```
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  3. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

        secureRandom.nextBytes(bytes);
        return ByteString.of(bytes);
      }
    
      private HttpUrl redirectUrl() {
        return mockWebServer.url("/oauth/");
      }
    
      /** When the browser hits the redirect URL, use the provided code to ask Slack for a session. */
      @Override public MockResponse dispatch(RecordedRequest request) {
        HttpUrl requestUrl = mockWebServer.url(request.getPath());
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.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
    - 16.2K bytes
    - Viewed (0)
  5. 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)
  6. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.matches
    import java.net.http.HttpClient
    import java.net.http.HttpClient.Redirect.NORMAL
    import java.net.http.HttpRequest
    import java.net.http.HttpResponse.BodyHandlers
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import okhttp3.testing.PlatformRule
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

                        out.write(in);
                    }
                });
            }
            throwValidationError(messages -> messages.addErrorsCouldNotFindLogFile(GLOBAL, filename), this::asIndexHtml);
            return redirect(getClass()); // no-op
        }
    
        public static List<Map<String, Object>> getLogFileItems() {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.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
    - 18.7K bytes
    - Viewed (0)
  10. cni/pkg/plugin/plugin.go

    		log.Infof("excluded due to not containing sidecar annotation")
    		return nil
    	}
    
    	log.Debugf("Setting up redirect")
    
    	redirect, err := NewRedirect(pi)
    	if err != nil {
    		log.Errorf("redirect failed due to bad params: %v", err)
    		return err
    	}
    
    	if err := rulesMgr.Program(podName, args.Netns, redirect); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    func pluginResponse(conf *Config) error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top