- Sort Score
- Result 10 results
- Languages All
Results 51 - 56 of 56 for add_header (0.12 sec)
-
okhttp/src/main/kotlin/okhttp3/RequestBody.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jan 25 14:41:37 UTC 2024 - 9.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt
client = client.newBuilder() .connectionPool(ConnectionPool(0, 5, TimeUnit.SECONDS)) .build() server.enqueue( MockResponse.Builder() .code(301) .addHeader("Location: /b") .bodyDelay(1, TimeUnit.SECONDS) .body("a") .build(), ) server.enqueue(MockResponse(body = "b")) val request = Request(server.url("/"))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Response.kt
value: String, ) = commonHeader(name, value) /** * Adds a header with [name] to [value]. Prefer this method for multiply-valued * headers like "Set-Cookie". */ open fun addHeader( name: String, value: String, ) = commonAddHeader(name, value) /** Removes all headers named [name] on this builder. */ open fun removeHeader(name: String) = commonRemoveHeader(name)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jul 06 09:38:30 UTC 2024 - 15.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
afterSessionStart(session); } catch (MavenExecutionException e) { return addExceptionToResult(result, e); } try { chainedWorkspaceReader.addReader(lookup.lookup(WorkspaceReader.class, ReactorReader.HINT)); } catch (LookupException e) { return addExceptionToResult(result, e); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1) -
okhttp/api/okhttp.api
public fun toString ()Ljava/lang/String; public final fun url ()Lokhttp3/HttpUrl; } public class okhttp3/Request$Builder { public fun <init> ()V public fun addHeader (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Request$Builder; public fun build ()Lokhttp3/Request; public fun cacheControl (Lokhttp3/CacheControl;)Lokhttp3/Request$Builder;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 70.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
fun gzippedResponseBody( protocol: Protocol, mockWebServer: MockWebServer, ) { setUp(protocol, mockWebServer) server.enqueue( MockResponse.Builder() .addHeader("Content-Encoding: gzip") .body(gzip("ABCABCABC")) .build(), ) val call = client.newCall(Request(server.url("/r1"))) val response = call.execute()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0)