语言

ICoreProtocolPNames.UseExpectContinue 字段

定义

启用 Expect:100-continue 交换正文的请求的参数名称。

[Android.Runtime.Register("USE_EXPECT_CONTINUE")]
public const string UseExpectContinue;
[<Android.Runtime.Register("USE_EXPECT_CONTINUE")>]
val mutable UseExpectContinue : string

字段值

特性

注解

名称为 http.protocol.expect-continue. 参数值为布尔值。 此交换允许客户端在客户端发送正文之前检查服务器是否接受请求。 某些服务器和代理不支持此交换。 UseExpectContinue(IHttpParams) 如果未设置任何值,则 false 返回。

适用于