UnvalidatedRequestValues.Headers 属性

定义

获取客户端在未触发请求验证的情况下发送的 HTTP 请求的集合。

public:
 property System::Collections::Specialized::NameValueCollection ^ Headers { System::Collections::Specialized::NameValueCollection ^ get(); };
public System.Collections.Specialized.NameValueCollection Headers { get; }
member this.Headers : System.Collections.Specialized.NameValueCollection
Public ReadOnly Property Headers As NameValueCollection

属性值

NameValueCollection

HTTP 请求中的标头。

注解

重要

如果使用此属性,则必须手动检查数据是否存在潜在的跨站点脚本攻击。

适用于