Base:
property
Headers
System.Net.WebRequest.Headers
1 write to Headers
System (1)
net\System\Net\FtpWebRequest.cs (1)
1836
GetHttpWebRequest().
Headers
= value;
39 references to Headers
System (15)
net\System\Net\_AuthenticationState.cs (5)
193
httpWebRequest.
Headers
.Set(AuthorizationHeader, preauth.Message);
253
httpWebRequest.
Headers
.Set(AuthorizationHeader, Authorization.Message);
297
httpWebRequest.
Headers
.Set(AuthorizationHeader, Authorization.Message);
314
GlobalLog.Print("AuthenticationState#" + ValidationHelper.HashString(this) + "::ClearAuthReq() httpWebRequest#" + ValidationHelper.HashString(httpWebRequest) + " " + AuthorizationHeader.ToString() + ": " + ValidationHelper.ToString(httpWebRequest.
Headers
[AuthorizationHeader]));
318
httpWebRequest.
Headers
.Remove(AuthorizationHeader);
net\System\Net\_ConnectStream.cs (1)
2184
if (Logging.On) Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_sending_headers, m_Request.
Headers
.ToString(true)));
net\System\Net\_CookieModule.cs (2)
28
httpWebRequest.
Headers
.RemoveInternal(HttpKnownHeaderNames.Cookie);
38
httpWebRequest.
Headers
[HttpKnownHeaderNames.Cookie] = cookieString;
net\System\Net\FtpWebRequest.cs (1)
1827
return GetHttpWebRequest().
Headers
;
net\System\Net\WebSockets\ClientWebSocket.cs (3)
224
request.
Headers
.Add(key, options.RequestHeaders[key]);
230
request.
Headers
.Add(HttpKnownHeaderNames.SecWebSocketProtocol,
290
request.
Headers
[HttpKnownHeaderNames.SecWebSocketKey]);
net\System\Net\WebSockets\WebSocketHelpers.cs (3)
361
request.
Headers
[HttpKnownHeaderNames.Upgrade] = WebSocketUpgradeToken;
369
request.
Headers
[HttpKnownHeaderNames.SecWebSocketKey] = Convert.ToBase64String(keyBlob);
372
request.
Headers
[HttpKnownHeaderNames.SecWebSocketVersion] = WebSocketProtocolComponent.SupportedVersion;
System.Data.Services.Client (12)
System\Data\Services\Client\DataServiceContext.cs (11)
1978
request.
Headers
[XmlConstants.HttpXMethod] = method;
1992
request.
Headers
[XmlConstants.HttpDataServiceVersion] = requestVersion.ToString() + Util.VersionSuffix;
1995
request.
Headers
[XmlConstants.HttpMaxDataServiceVersion] = Util.MaxResponseVersion.ToString() + Util.VersionSuffix;
2012
requestHeaders = request.
Headers
;
2038
request.
Headers
[HttpRequestHeader.AcceptCharset] = XmlConstants.Utf8Encoding;
2062
request.
Headers
[XmlConstants.HttpXMethod] = method;
2081
headers = request.
Headers
.AllKeys;
2086
request.
Headers
.Remove(HttpRequestHeader.IfMatch);
2093
request.
Headers
.Remove(XmlConstants.HttpXMethod);
2831
request.
Headers
.Set(HttpRequestHeader.IfMatch, box.ETag);
4732
mediaResourceRequest.
Headers
.Set(HttpRequestHeader.IfMatch, box.StreamETag);
System\Data\Services\Client\WebUtil.cs (1)
151
request.
Headers
[header.Key] = header.Value;
System.Runtime.Remoting (1)
channels\http\httpclientchannel.cs (1)
680
httpWebRequest.
Headers
[key] = header.Value.ToString();
System.ServiceModel (11)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (5)
245
request.
Headers
[WebSocketHelper.SecWebSocketProtocol] = this.WebSocketSettings.SubProtocol;
254
request.
Headers
[WebSocketTransportSettings.SoapContentTypeHeader] = this.channelFactory.WebSocketSoapContentType;
258
request.
Headers
[WebSocketTransportSettings.BinaryEncoderTransferModeHeader] = this.channelFactory.TransferMode.ToString();
335
this.webSocketKey = request.
Headers
[WebSocketHelper.SecWebSocketKey];
495
request.
Headers
[WebSocketHelper.SecWebSocketVersion] = webSocketVersion;
System\ServiceModel\Channels\HttpChannelHelpers.cs (5)
2396
httpWebRequest.
Headers
[HttpChannelUtilities.MIMEVersionHeader] = version;
2401
httpWebRequest.
Headers
.Add(name, value);
2411
this.httpWebRequest.
Headers
.Add(HttpChannelUtilities.ContentEncodingHeader, contentEncoding);
2641
httpWebRequest.
Headers
.Add(name, value);
2650
httpWebRequest.
Headers
["SOAPAction"] = action;
System\ServiceModel\Channels\WebSocketHelper.cs (1)
198
string version = request.
Headers
[WebSocketHelper.SecWebSocketVersion];