- Sort Score
- Num 10 results
- Language All
Results 611 - 620 of 1,765 for header (0.04 seconds)
-
android-test/src/androidDeviceTest/java/okhttp/android/test/sni/SniOverrideTest.kt
} catch (e: Exception) { false } }.build() val request = Request .Builder() .url("https://sni.cloudflaressl.com/cdn-cgi/trace") .header("Host", "cloudflare-dns.com") .build() client.newCall(request).execute().use { response -> assertThat(response.code).isEqualTo(200) assertThat(response.protocol).isEqualTo(Protocol.HTTP_2)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 26 07:38:51 GMT 2026 - 3.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt
fun flushRequest() /** Flush the request to the underlying socket and signal no more bytes will be transmitted. */ @Throws(IOException::class) fun finishRequest() /** * Parses bytes of a response header from an HTTP transport. * * @param expectContinue true to return null if this is an intermediate response with a "100" * response code. Otherwise this method never returns null. */ @Throws(IOException::class)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jul 29 21:11:09 GMT 2025 - 3.3K bytes - Click Count (0) -
docs/zh/docs/advanced/response-cookies.md
而且你还可以根据你的需要响应不同的对象,比如常用的 `dict`,数据库model等。 如果你定义了 `response_model`,程序会自动根据`response_model`来过滤和转换你响应的对象。 **FastAPI** 会使用这个 *临时* 响应对象去装在这些cookies信息 (同样还有headers和状态码等信息), 最终会将这些信息和通过`response_model`转化过的数据合并到最终的响应里。 你也可以在依赖中定义`Response`参数,并设置cookie和header。 ## 直接响应 `Response` { #return-a-response-directly } 你还可以在直接响应`Response`时直接创建cookies。 为此,你可以按照[直接返回 Response](response-directly.md)中的说明创建一个响应。 然后设置Cookies,并返回:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 2.1K bytes - Click Count (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
.webSocketUpgrade(serverListener) .build(), ) val response = client .newCall( request() .header("Connection", "Upgrade") .header("Upgrade", "websocket") .header("Sec-WebSocket-Key", "abc123") .build(), ).execute() response.body.close() networkLogs .assertLogEqual("--> GET $url http/1.1")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Nov 07 02:57:33 GMT 2025 - 39.4K bytes - Click Count (0) -
cmd/bucket-handlers.go
if crypto.SSECopy.IsRequested(r.Header) { writeErrorResponse(ctx, w, toAPIError(ctx, errInvalidEncryptionParameters), r.URL) return } if crypto.SSEC.IsRequested(r.Header) && crypto.S3.IsRequested(r.Header) { writeErrorResponse(ctx, w, toAPIError(ctx, crypto.ErrIncompatibleEncryptionMethod), r.URL) return } if crypto.SSEC.IsRequested(r.Header) && crypto.S3KMS.IsRequested(r.Header) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 63.9K bytes - Click Count (0) -
src/main/resources/fess.xml
</component> <component name="indexingHelper" class="org.codelibs.fess.helper.IndexingHelper"> </component> <component name="notificationHelper" class="org.codelibs.fess.helper.NotificationHelper"> </component> <component name="logNotificationHelper" class="org.codelibs.fess.helper.LogNotificationHelper"> </component> <component name="pathMappingHelper" class="org.codelibs.fess.helper.PathMappingHelper">
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 5.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2Constants.java
* * @author mbechler */ public final class Smb2Constants { /** * */ private Smb2Constants() { } /** * SMB2 header length in bytes */ public static final int SMB2_HEADER_LENGTH = 64; /** * SMB2 negotiate flag indicating signing is enabled */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 4.5K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
*/ public val target: String, /** A string like `HTTP/1.1` or `HTTP/2`. */ public val version: String, /** The request URL built using the request line, headers, and local host name. */ public val url: HttpUrl, /** All headers. */ public val headers: Headers, /** The body of this request, or null if it has none. This may be truncated. */ public val body: ByteString?,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jun 21 20:36:35 GMT 2025 - 3.2K bytes - Click Count (1) -
src/cmd/asm/main.go
case "all", "ret": ctxt.Retpoline = true } ctxt.Bso = bufio.NewWriter(os.Stdout) defer ctxt.Bso.Flush() architecture.Init(ctxt) // Create object file, write header. buf, err := bio.Create(*flags.OutputFile) if err != nil { log.Fatal(err) } defer buf.Close() if !*flags.SymABIs { buf.WriteString(objabi.HeaderString()) fmt.Fprintf(buf, "!\n") }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Apr 02 17:07:18 GMT 2026 - 3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
} @Test @DisplayName("Should calculate padding") void testPad8() { testMessage.encode(new byte[1024], 0); // After header is written, padding depends on position int headerStart = testMessage.getHeaderStart(); assertEquals(0, headerStart); // Should start at 0 } } @NestedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 39.5K bytes - Click Count (0)