DataServiceRequestArgs.Headers Property

Definition

Gets the headers in the request message.

public System.Collections.Generic.Dictionary<string,string> Headers { get; }

Property Value

The headers in the request message.

Remarks

The response is a Dictionary<TKey,TValue> object that contains key-value pairs of strings for each header in the request.

No validation is performed on the headers in the Headers property. Therefore, make sure that you do not change an HTTP header in a way that changes the meaning of the request.

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1