- Sort Score
- Result 10 results
- Languages All
Results 631 - 640 of 3,848 for wget (0.03 sec)
-
cmd/object-handlers-common.go
} } // Validates the preconditions. Returns true if GET/HEAD operation should not proceed. // Preconditions supported are: // // If-Modified-Since // If-Unmodified-Since // If-Match // If-None-Match func checkPreconditions(ctx context.Context, w http.ResponseWriter, r *http.Request, objInfo ObjectInfo, opts ObjectOptions) bool { // Return false for methods other than GET and HEAD.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 06:33:53 UTC 2024 - 15.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Futures.java
* {@code function} is invoked on each call to {@link Future#get() get()} on the returned future. * * <p>The returned {@code Future} reflects the input's cancellation state directly, and any * attempt to cancel the returned Future is likewise passed through to the input Future. * * <p>Note that calls to {@linkplain Future#get(long, TimeUnit) timed get} only apply the timeout
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 64.4K bytes - Viewed (0) -
tests/test_custom_swagger_ui_redirect.py
swagger_ui_oauth2_redirect_url = "/docs/redirect" app = FastAPI(swagger_ui_oauth2_redirect_url=swagger_ui_oauth2_redirect_url) @app.get("/items/") async def read_items(): return {"id": "foo"} client = TestClient(app) def test_swagger_ui(): response = client.get("/docs") assert response.status_code == 200, response.text assert response.headers["content-type"] == "text/html; charset=utf-8"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Apr 08 04:37:38 UTC 2020 - 1.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/MapsTest.java
public void test() throws Exception { final Map<String, Integer> map = map("a", 1).$("b", 2).$("c", 3).$(); assertThat(map.size(), is(3)); assertThat(map.get("a"), is(1)); assertThat(map.get("b"), is(2)); assertThat(map.get("c"), is(3)); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.2K bytes - Viewed (0) -
tests/test_additional_responses_custom_validationerror.py
class JsonApiError(BaseModel): errors: typing.List[Error] @app.get( "/a/{id}", response_class=JsonApiResponse, responses={422: {"description": "Error", "model": JsonApiError}}, ) async def a(id): pass # pragma: no cover client = TestClient(app) def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.4K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java
collector.add(null, "PROBLEM3", -1, -1, null); assertEquals("", collector.getProblems().get(0).getSource()); assertEquals("SOURCE_PROBLEM2", collector.getProblems().get(1).getSource()); assertEquals("SOURCE_PROBLEM3", collector.getProblems().get(2).getSource()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
docs_src/sql_databases/tutorial002_py310.py
session.refresh(db_hero) return db_hero @app.get("/heroes/", response_model=list[HeroPublic]) def read_heroes( session: Session = Depends(get_session), offset: int = 0, limit: int = Query(default=100, le=100), ): heroes = session.exec(select(Hero).offset(offset).limit(limit)).all() return heroes @app.get("/heroes/{hero_id}", response_model=HeroPublic)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 2.5K bytes - Viewed (0) -
tests/test_tutorial/test_additional_responses/test_tutorial004.py
client = TestClient(app) def test_path_operation(): response = client.get("/items/foo") assert response.status_code == 200, response.text assert response.json() == {"id": "foo", "value": "there goes my hero"} def test_path_operation_img(): shutil.copy("./docs/en/docs/img/favicon.png", "./image.png") response = client.get("/items/foo?img=1") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 4.8K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/ClasspathManifest.kt
fun generate() { ReproduciblePropertiesWriter.store(createProperties(), manifestFile.get().asFile) } private fun createProperties() = Properties().also { properties -> properties["runtime"] = runtime.get().joinToString(",") properties["projects"] = projects.get().joinToString(",") optionalProjects.get().takeIf { it.isNotEmpty() }?.let { optional ->
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Mar 28 20:26:58 UTC 2024 - 2.4K bytes - Viewed (0)