- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 119 for heslo (0.12 sec)
-
okhttp/src/test/java/okhttp3/RequestTest.kt
import okio.Buffer import okio.ByteString.Companion.encodeUtf8 import org.junit.jupiter.api.Test class RequestTest { @Test fun constructor() { val url = "https://example.com/".toHttpUrl() val body = "hello".toRequestBody() val headers = headersOf("User-Agent", "RequestTest") val method = "PUT" val request = Request( url = url, headers = headers, method = method,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 16.4K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/SampleTest.kt
import org.junit.jupiter.params.provider.ArgumentsSource class SampleTest { @JvmField @RegisterExtension val clientRule = OkHttpClientTestRule() @Test fun passingTest() { assertThat("hello").isEqualTo("hello") } @Test fun testMockWebServer(server: MockWebServer) { server.enqueue(MockResponse(body = "abc")) val client = clientRule.newClient()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.8K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
```Python hl_lines="9-14 17" {!../../../docs_src/custom_response/tutorial009c.py!} ``` Now instead of returning: ```json {"message": "Hello World"} ``` ...this response will return: ```json { "message": "Hello World" } ``` Of course, you will probably find much better ways to take advantage of this than formatting JSON. 😉 ## Default response class
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.7K bytes - Viewed (0) -
docs/de/docs/advanced/settings.md
$ echo "Hello $MY_NAME" Hello Wade Wilson ``` </div> === "Windows PowerShell" <div class="termy"> ```console // Erstelle eine Umgebungsvariable MY_NAME $ $Env:MY_NAME = "Wade Wilson" // Verwende sie mit anderen Programmen, etwa $ echo "Hello $Env:MY_NAME" Hello Wade Wilson ``` </div>
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:17:14 GMT 2024 - 17.8K bytes - Viewed (0) -
docs/de/docs/advanced/wsgi.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:17:05 GMT 2024 - 1.2K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt
} @Test fun get(server: MockWebServer) { server.enqueue(MockResponse(body = "hello, Jetty HTTP Client")) val request = client.newRequest(server.url("/").toUri()) .header("Accept", "text/plain") val response = request.send() assertThat(response.status).isEqualTo(200) assertThat(response.contentAsString).isEqualTo("hello, Jetty HTTP Client") val recorded = server.takeRequest()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2K bytes - Viewed (0) -
docs/tr/docs/index.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 21.9K bytes - Viewed (0) -
docs/uk/docs/index.md
### Створіть * Створіть файл `main.py` з: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} ``` <details markdown="1">
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 24.2K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
), ) .assertLogMatch( Regex(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Jan 14 10:20:09 GMT 2024 - 10.2K bytes - Viewed (0) -
docs/fr/docs/index.md
### Créez * Créez un fichier `main.py` avec : ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} ``` <details markdown="1">
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 22K bytes - Viewed (0)