Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 206 for Redirects (0.1 seconds)

  1. fastapi/openapi/docs.py

        You normally don't need to use or change this.
        """
        # copied from https://github.com/swagger-api/swagger-ui/blob/v4.14.0/dist/oauth2-redirect.html
        html = """
        <!doctype html>
        <html lang="en-US">
        <head>
            <title>Swagger UI: OAuth2 Redirect</title>
        </head>
        <body>
        <script>
            'use strict';
            function run () {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  2. docs/en/docs/reference/responses.md

    # Custom Response Classes - File, HTML, Redirect, Streaming, etc.
    
    There are several custom response classes you can use to create an instance and return them directly from your *path operations*.
    
    Read more about it in the [FastAPI docs for Custom Response - HTML, Stream, File, others](https://fastapi.tiangolo.com/advanced/custom-response/).
    
    You can import them directly from `fastapi.responses`:
    
    ```python
    from fastapi.responses import (
        FileResponse,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

                }
            }).orElse(() -> {
                throwValidationError(messages -> messages.addErrorsCrudFailedToCreateInstance(GLOBAL), this::asEditHtml);
            });
            return redirect(getClass());
        }
    
        /**
         * Update a bad word.
         * @param form The edit form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE })
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  4. CHANGELOG/CHANGELOG-1.7.md

    * Exec and portforward actions over SPDY now properly handle redirects sent by the Kubelet ([#44451](https://github.com/kubernetes/kubernetes/pull/44451), [@ncdc](https://github.com/ncdc))
    
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 308.7K bytes
    - Click Count (1)
  5. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

                    throwValidationError(messages -> messages.addErrorsInvalidHeaderForRequestFile(GLOBAL, "no header"),
                            () -> asListHtml(this::saveToken));
                    return redirect(getClass()); // no-op
                }
                String line;
                while ((line = ReaderUtil.readLine(reader)) != null) {
                    buf.append(line);
                }
            } catch (final Exception e) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  6. 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
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

                }
            }).orElse(() -> {
                throwValidationError(messages -> messages.addErrorsCrudFailedToCreateInstance(GLOBAL), this::asEditHtml);
            });
            return redirect(getClass());
        }
    
        /**
         * Updates an existing scheduled job.
         *
         * @param form the edit form containing the updated job data
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py

        assert "/static/swagger-ui-bundle.js" in response.text
        assert "/static/swagger-ui.css" in response.text
    
    
    def test_swagger_ui_oauth2_redirect_html(client: TestClient):
        response = client.get("/docs/oauth2-redirect")
        assert response.status_code == 200, response.text
        assert "window.opener.swaggerUIRedirectOauth2" in response.text
    
    
    def test_redoc_html(client: TestClient):
        response = client.get("/redoc")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/CreateForm.java

    import jakarta.validation.constraints.Min;
    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for creating new duplicate host configuration entries.
     * This form handles the creation of duplicate host mappings that redirect
     * crawling from duplicate hostnames to the regular canonical hostname.
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. 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{}{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.7K bytes
    - Click Count (1)
Back to Top