HttpWorkerRequest.HeaderContentType 字段

定义

指定 HTTP 标头的 Content-Type 索引号。

public: int HeaderContentType = 12;
public const int HeaderContentType = 12;
val mutable HeaderContentType : int
Public Const HeaderContentType As Integer  = 12

字段值

Value = 12

注解

.NET Framework 将索引号分配给每个标准 HTTP 标头类型,以便在 GetKnownRequestHeaderSendKnownResponseHeader 方法中使用。

适用于