- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 42 for simpler (0.26 sec)
-
okcurl/src/test/kotlin/okhttp3/curl/OkcurlTest.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 732 bytes - Viewed (0) -
samples/guide/README.md
Samples
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Jun 27 02:30:33 GMT 2019 - 16 bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
* it easy to get sample values to use in such tests. * * This class is pretty fast and loose with default values: it attempts to provide values that are * well-formed, but doesn't guarantee values are internally consistent. Callers must take care to * configure the factory when sample values impact the correctness of the test. */ class TestValueFactory : Closeable {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 7.7K bytes - Viewed (0) -
regression-test/README.md
... BUILD SUCCESSFUL in 1m 30s 63 actionable tasks: 61 executed, 2 up-to-date ```
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Nov 13 07:09:56 GMT 2020 - 2.5K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
url = server.url( """/api/login? |user=test_user& |authentication=basic& |password=confidential_password& |authentication=rather simple login method """.trimMargin(), ) val networkInterceptor = HttpLoggingInterceptor(networkLogs).setLevel( Level.BASIC, )
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 37.6K bytes - Viewed (0) -
docs/features/calls.md
# Calls The HTTP client’s job is to accept your request and produce its response. This is simple in theory but it gets tricky in practice. ## [Requests](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-request/) Each HTTP request contains a URL, a method (like `GET` or `POST`), and a list of headers. Requests may also contain a body: a data stream of a specific content type. ## [Responses](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-response/)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 3.9K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
[conscrypt_dependency]: https://github.com/google/conscrypt/#download [grpc_http2]: https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md [https_server_sample]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java [jetty_8_252]: https://webtide.com/jetty-alpn-java-8u252/
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
*/ @Test fun literalHeaderFieldWithoutIndexingIndexedName() { val headerBlock = headerEntries(":path", "/sample/path") bytesIn.writeByte(0x04) // == Literal not indexed == // Indexed name (idx = 4) -> :path bytesIn.writeByte(0x0c) // Literal value (len = 12) bytesIn.writeUtf8("/sample/path") hpackWriter!!.writeHeaders(headerBlock) assertThat(bytesOut).isEqualTo(bytesIn)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 38.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RequestTest.kt
builder.addHeader("", "Value") } } @Test fun headerAllowsTabOnlyInValues() { val builder = Request.Builder() builder.header("key", "sample\tvalue") assertFailsWith<IllegalArgumentException> { builder.header("sample\tkey", "value") } } @Test fun headerForbidsControlCharacters() { assertForbiddenHeader("\u0000") assertForbiddenHeader("\r")
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) -
okhttp/src/main/kotlin/okhttp3/ResponseBody.kt
* [close()][Response.close] for you. * * ```java * Call call = client.newCall(request); * try (Response response = call.execute()) { * ... // Use the response. * } * ``` * * You can use a similar block for asynchronous calls: * * ```java * Call call = client.newCall(request); * call.enqueue(new Callback() { * public void onResponse(Call call, Response response) throws IOException {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.7K bytes - Viewed (0)