- Sort Score
- Result 10 results
- Languages All
Results 5871 - 5880 of 7,200 for RETURN (8.96 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java
public void addExpectedContent(String resourceName, String expectedContent) { this.expectedContent.put(resourceName, expectedContent); } public String[] getSupportedProtocols() { return new String[] {"string"}; } @Override public void closeConnection() throws ConnectionException {} @Override public void fillInputData(InputData inputData)Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerException.java
public ExitException(int exitCode) { super("EXIT=" + exitCode); this.exitCode = exitCode; } public int getExitCode() { return exitCode; } }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 10:47:37 UTC 2025 - 2.5K bytes - Viewed (0) -
docs/es/docs/advanced/response-headers.md
También puedes declarar el parámetro `Response` en dependencias y establecer headers (y cookies) en ellas. ## Retorna una `Response` directamente { #return-a-response-directly } También puedes agregar headers cuando devuelves un `Response` directamente.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.5K bytes - Viewed (0) -
tests/test_no_schema_split.py
output: MessageOutput app = FastAPI(title="Minimal FastAPI App", version="1.0.0") @app.post("/messages", response_model=Message) async def create_message(input_message: str) -> Message: return Message( input=input_message, output=MessageOutput(body=f"Processed: {input_message}"), ) client = TestClient(app) def test_create_message():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 6.4K bytes - Viewed (0) -
tests/test_tutorial/test_body_updates/test_tutorial001.py
], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body_updates.{request.param}") client = TestClient(mod.app) return client def test_get(client: TestClient): response = client.get("/items/baz") assert response.status_code == 200, response.text assert response.json() == { "name": "Baz",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 6.6K bytes - Viewed (0) -
tests/test_tutorial/test_cookie_param_models/test_tutorial001.py
], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.cookie_param_models.{request.param}") client = TestClient(mod.app) return client def test_cookie_param_model(client: TestClient): with client as c: c.cookies.set("session_id", "123") c.cookies.set("fatebook_tracker", "456")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 6K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/Os.kt
DefaultJvm(JvmVersion.JAVA_25, JvmVendor.OPENJDK), ) }.joinToString(",") { javaHome(it, this, arch) } return listOf( """"-Dorg.gradle.java.installations.paths=$paths"""", """"-Porg.gradle.java.installations.paths=$paths"""", ) }
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Sep 18 12:22:32 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
@Override public void write(int b) throws IOException { outputStream.write(b); } @Override public boolean isReady() { return true; } @Override public void setWriteListener(WriteListener listener) { } }; lenient().when(response.getWriter()).thenReturn(printWriter);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
Decode the received token, verify it, and return the current user. If the token is invalid, return an HTTP error right away. {* ../../docs_src/security/tutorial004_an_py310.py hl[90:107] *} ## Update the `/token` *path operation* { #update-the-token-path-operation } Create a `timedelta` with the expiration time of the token. Create a real JWT access token and return it.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 10.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CertificateChainCleanerTest.kt
.serialNumber(i.toLong()) .build(), ) } return result } private fun list(vararg heldCertificates: HeldCertificate): List<Certificate> { val result: MutableList<Certificate> = ArrayList() for (heldCertificate in heldCertificates) { result.add(heldCertificate.certificate) } return result }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 9.5K bytes - Viewed (1)