Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 714 for Tenders (0.21 sec)

  1. docs/en/docs/reference/response.md

    # `Response` class
    
    You can declare a parameter in a *path operation function* or dependency to be of type `Response` and then you can set data for the response like headers or cookies.
    
    You can also use it directly to create an instance of it and return it from your *path operations*.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Response
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 397 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_advanced_middleware/test_tutorial001.py

        assert response.status_code == 200, response.text
    
        client = TestClient(app)
        response = client.get("/", follow_redirects=False)
        assert response.status_code == 307, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 479 bytes
    - Viewed (0)
  3. internal/etag/etag.go

    			n++
    		}
    	}
    	etag := append(h.Sum(nil), '-')
    	return strconv.AppendInt(etag, n, 10)
    }
    
    // Set adds the ETag to the HTTP headers. It overwrites any
    // existing ETag entry.
    //
    // Due to legacy S3 clients, that make incorrect assumptions
    // about HTTP headers, Set should be used instead of
    // http.Header.Set(...). Otherwise, some S3 clients will not
    // able to extract the ETag.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. tests/test_dependency_paramless.py

    
    def test_get_credentials():
        response = client.get("/get-credentials", headers={"authorization": "Bearer token"})
        assert response.status_code == 200, response.text
        assert response.json() == {"token": "token", "scopes": ["a", "b"]}
    
    
    def test_parameterless_with_scopes():
        response = client.get(
            "/parameterless-with-scopes", headers={"authorization": "Bearer token"}
        )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactoryTest.java

            Map<String, String> headers = (Map<String, String>) systemSessionFactory
                    .newRepositorySession(request)
                    .getConfigProperties()
                    .get(ConfigurationProperties.HTTP_HEADERS + "." + server.getId());
            assertNotNull(headers);
            assertEquals(1, headers.size());
            assertEquals("value", headers.get("header"));
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/handling-errors.md

    ///
    
    ## Agrega headers personalizados { #add-custom-headers }
    
    Existen algunas situaciones en las que es útil poder agregar headers personalizados al error HTTP. Por ejemplo, para algunos tipos de seguridad.
    
    Probablemente no necesitarás usarlos directamente en tu código.
    
    Pero en caso de que los necesites para un escenario avanzado, puedes agregar headers personalizados:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. scripts/notify_translations.py

            "comment_id": comment_id,
            "body": body,
        }
        response = httpx.post(
            github_graphql_url,
            headers=headers,
            timeout=settings.httpx_timeout,
            json={"query": query, "variables": variables, "operationName": "Q"},
        )
        if response.status_code != 200:
            logging.error(
                f"Response was not 200, after: {after}, category_id: {category_id}"
            )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. CLAUDE.md

    # Admin UI: http://localhost:8080/admin/ (admin/admin)
    
    # From command line (after building)
    ./bin/fess
    ```
    
    ### Code Formatting
    ```bash
    # Format code
    mvn formatter:format
    
    # Add license headers
    mvn license:format
    ```
    
    ## Tech Stack
    
    - **Web Framework**: LastaFlute (MVC framework)
    - **DI Container**: Lasta Di
    - **Data Access**: DBFlute (type-safe ORM for OpenSearch)
    - **Search Engine**: OpenSearch
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. scripts/people.py

        after: Union[str, None] = None,
        category_id: Union[str, None] = None,
    ) -> dict[str, Any]:
        headers = {"Authorization": f"token {settings.github_token.get_secret_value()}"}
        variables = {"after": after, "category_id": category_id}
        response = httpx.post(
            github_graphql_url,
            headers=headers,
            timeout=settings.httpx_timeout,
            json={"query": query, "variables": variables, "operationName": "Q"},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

        }
    
        val recorded = server.takeRequest()
        assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
        assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip, x-gzip, deflate")
        assertThat(recorded.headers["User-Agent"]!!).startsWith("Apache-HttpClient/")
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top