Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 203 for readDirect (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. docs/features/calls.md

    ## Follow-up Requests
    
    When your requested URL has moved, the webserver will return a response code like `302` to indicate the document’s new URL. OkHttp will follow the redirect to retrieve a final response.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. misc/linkcheck/linkcheck.go

    	if err != nil {
    		return err
    	}
    	// Handle redirects.
    	if res.StatusCode/100 == 3 {
    		newURL, err := res.Location()
    		if err != nil {
    			return fmt.Errorf("resolving redirect: %v", err)
    		}
    		if !strings.HasPrefix(newURL.String(), *root) {
    			// Skip off-site redirects.
    			return nil
    		}
    		crawl(newURL.String(), url)
    		return nil
    	}
    	if res.StatusCode != 200 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  9. 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)
  10. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top