- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 4,214 for wget (0.09 seconds)
-
src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java
for (Map<String, Object> existingDoc : existingDocs) { final Map<String, Object> doc = new HashMap<>(); doc.put("doc_id", existingDoc.get("doc_id")); doc.put("title", existingDoc.get("title") + "_updated"); doc.put("url", existingDoc.get("url_link")); doc.put("content", "Updated content"); doc.put("boost", 2.0f); doc.put("role", "Rguest");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.9K bytes - Click Count (0) -
tests/test_deprecated_responses.py
@app.get("/items") def get_items() -> Item: return Item(name="widget", price=9.99) return app def test_orjson_response_returns_correct_data(): app = _make_orjson_app() client = TestClient(app) with warnings.catch_warnings(): warnings.simplefilter("ignore", FastAPIDeprecationWarning) response = client.get("/items")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 22 16:34:59 GMT 2026 - 2K bytes - Click Count (0) -
tests/test_router_events.py
app = FastAPI(lifespan=lifespan) @app.get("/") def main() -> dict[str, str]: return {"message": "Hello World"} assert state.app_startup is False assert state.app_shutdown is False with TestClient(app) as client: assert state.app_startup is True assert state.app_shutdown is False response = client.get("/") assert response.status_code == 200, response.textCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 11.7K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
assertThat(ioe.cause!!).isInstanceOf<EOFException>() } } // TODO GET preferred order - with tests to confirm this // 1. successful fresh cached GET response // 2. unsuccessful (404, 500) fresh cached GET response // 3. successful network response // 4. successful stale cached GET response // 5. unsuccessful response @Test fun usesCache() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 11.9K bytes - Click Count (0) -
tests/test_response_code_no_body.py
status: str title: str class JsonApiError(BaseModel): errors: list[Error] @app.get( "/a", status_code=204, response_class=JsonApiResponse, responses={500: {"description": "Error", "model": JsonApiError}}, ) async def a(): pass @app.get("/b", responses={204: {"description": "No Content"}}) async def b(): pass # pragma: no coverCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 3.5K bytes - Click Count (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
After authenticating in the system, you will see it like: <img src="/img/tutorial/security/image05.png"> ### Get your own user data { #get-your-own-user-data } Now use the operation `GET` with the path `/users/me`. You will get your user's data, like: ```JSON { "username": "johndoe", "email": "******@****.***", "full_name": "John Doe", "disabled": false,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java
mock.assertLastMethodCalled("submit"); f.get(); } { MockExecutor mock = new MockExecutor(); TestExecutor testExecutor = new TestExecutor(mock); Future<String> f = testExecutor.submit(doNothing(), RESULT_VALUE); mock.assertLastMethodCalled("submit"); assertThat(f.get()).isEqualTo(RESULT_VALUE); } { MockExecutor mock = new MockExecutor();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 10.1K bytes - Click Count (0) -
tests/test_security_api_key_header_description.py
user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: User = Depends(get_current_user)): return current_user client = TestClient(app) def test_security_api_key(): response = client.get("/users/me", headers={"key": "secret"}) assert response.status_code == 200, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
byte actualFileInfoClass = (byte) fileInfoClassField.get(request); assertEquals(testFileInfoClass, actualFileInfoClass); Field infoTypeField = Smb2QueryInfoRequest.class.getDeclaredField("infoType"); infoTypeField.setAccessible(true); byte actualInfoType = (byte) infoTypeField.get(request); assertEquals(Smb2Constants.SMB2_0_INFO_FILE, actualInfoType);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0)