Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 1,330 for reaper (0.13 seconds)

  1. tests/test_openapi_examples.py

    
    @app.get("/header_examples/")
    def header_examples(
        data: str | None = Header(
            default=None,
            examples=[
                "json_schema_header1",
                "json_schema_header2",
            ],
            openapi_examples={
                "Header One": {
                    "summary": "Header One Summary",
                    "description": "Header One Description",
                    "value": "header1",
                },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  2. docs/features/interceptors.md

        Request originalRequest = chain.request();
        if (originalRequest.body() == null || originalRequest.header("Content-Encoding") != null) {
          return chain.proceed(originalRequest);
        }
    
        Request compressedRequest = originalRequest.newBuilder()
            .header("Content-Encoding", "gzip")
            .method(originalRequest.method(), gzip(originalRequest.body()))
            .build();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Click Count (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

     * It can identify areas where string deduplication could provide significant memory savings.</p>
     *
     * <p>Usage example:</p>
     * <pre>
     * PomMemoryAnalyzer analyzer = new PomMemoryAnalyzer();
     * Model model = reader.read(Files.newInputStream(pomPath));
     * analyzer.analyzePom(model);
     * analyzer.printAnalysis();
     * </pre>
     *
     * <p>The analysis output includes:</p>
     * <ul>
     *   <li>Total memory usage per POM path</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  4. cmd/signature-v2.go

    // doesSignV2Match - Verify authorization header with calculated header in accordance with
    //     - http://docs.aws.amazon.com/AmazonS3/latest/dev/auth-request-sig-v2.html
    // returns true if matches, false otherwise. if error is not nil then it is always false
    
    func validateV2AuthHeader(r *http.Request) (auth.Credentials, APIErrorCode) {
    	var cred auth.Credentials
    	v2Auth := r.Header.Get(xhttp.Authorization)
    	if v2Auth == "" {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  5. src/main/webapp/WEB-INF/view/admin/design/admin_design.jsp

    <div class="wrapper">
        <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="system"/>
            <jsp:param name="menuType" value="design"/>
        </jsp:include>
        <main class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt

            .header("User-Agent", "OkHttp Headers.java")
            .addHeader("Accept", "application/json; q=0.5")
            .addHeader("Accept", "application/vnd.github.v3+json")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println("Server: ${response.header("Server")}")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  7. tests/test_security_http_bearer_optional.py

    
    client = TestClient(app)
    
    
    def test_security_http_bearer():
        response = client.get("/users/me", headers={"Authorization": "Bearer foobar"})
        assert response.status_code == 200, response.text
        assert response.json() == {"scheme": "Bearer", "credentials": "foobar"}
    
    
    def test_security_http_bearer_no_credentials():
        response = client.get("/users/me")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  8. tests/test_security_oauth2_authorization_code_bearer_description.py

    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    oauth2_scheme = OAuth2AuthorizationCodeBearer(
        authorizationUrl="authorize",
        tokenUrl="token",
        description="OAuth2 Code Bearer",
        auto_error=True,
    )
    
    
    @app.get("/items/")
    async def read_items(token: str | None = Security(oauth2_scheme)):
        return {"token": token}
    
    
    client = TestClient(app)
    
    
    def test_no_token():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  9. docs_src/dependencies/tutorial006_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI, Header, HTTPException
    
    app = FastAPI()
    
    
    async def verify_token(x_token: Annotated[str, Header()]):
        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def verify_key(x_key: Annotated[str, Header()]):
        if x_key != "fake-super-secret-key":
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 633 bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/reqheader/EditForm.java

            super();
        }
    
        /**
         * The unique identifier of the request header configuration being edited.
         * This is a required field for identifying which request header entry to update.
         */
        @Required
        @Size(max = 1000)
        public String id;
    
        /**
         * The username of the user who last updated this request header configuration.
         * Used for audit trail purposes to track who made changes.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top