3 writes to _HttpRequestHeaders
System (3)
net\System\Net\HttpWebRequest.cs (3)
2677
_HttpRequestHeaders
= newWebHeaders;
5154
_HttpRequestHeaders
= new WebHeaderCollection(WebHeaderCollectionType.HttpWebRequest);
5273
_HttpRequestHeaders
= (WebHeaderCollection)serializationInfo.GetValue("_HttpRequestHeaders", typeof(WebHeaderCollection));
46 references to _HttpRequestHeaders
System (46)
net\System\Net\HttpWebRequest.cs (46)
1156
_HttpRequestHeaders
.RemoveInternal(HttpKnownHeaderNames.TransferEncoding);
1199
_HttpRequestHeaders
.RemoveInternal(HttpKnownHeaderNames.TransferEncoding);
2655
return
_HttpRequestHeaders
;
2764
return
_HttpRequestHeaders
[HttpKnownHeaderNames.ContentType];
2790
return
_HttpRequestHeaders
[HttpKnownHeaderNames.TransferEncoding];
2804
_HttpRequestHeaders
.RemoveInternal(HttpKnownHeaderNames.TransferEncoding);
2826
_HttpRequestHeaders
.CheckUpdate(HttpKnownHeaderNames.TransferEncoding, value);
2841
return
_HttpRequestHeaders
[HttpKnownHeaderNames.Connection];
2854
_HttpRequestHeaders
.RemoveInternal(HttpKnownHeaderNames.Connection);
2872
_HttpRequestHeaders
.CheckUpdate(HttpKnownHeaderNames.Connection, value);
2887
return
_HttpRequestHeaders
[HttpKnownHeaderNames.Accept];
2901
return
_HttpRequestHeaders
[HttpKnownHeaderNames.Referer];
2915
return
_HttpRequestHeaders
[HttpKnownHeaderNames.UserAgent];
2942
return
_HttpRequestHeaders
[HttpKnownHeaderNames.Expect];
2956
_HttpRequestHeaders
.RemoveInternal(HttpKnownHeaderNames.Expect);
2972
_HttpRequestHeaders
.CheckUpdate(HttpKnownHeaderNames.Expect, value);
2984
string headerValue =
_HttpRequestHeaders
[headerName];
3108
_HttpRequestHeaders
.RemoveInternal(HeaderName);
3110
_HttpRequestHeaders
.AddInternal(HeaderName, value);
4969
_HttpRequestHeaders
.ChangeInternal( HttpKnownHeaderNames.Host, host);
4998
_HttpRequestHeaders
.AddInternal(HttpKnownHeaderNames.TransferEncoding, ChunkedHeader);
5003
_HttpRequestHeaders
.ChangeInternal(HttpKnownHeaderNames.ContentLength, _ContentLength.ToString(NumberFormatInfo.InvariantInfo));
5007
_HttpRequestHeaders
.AddInternal(HttpKnownHeaderNames.Expect, ContinueHeader);
5013
string acceptEncodingValues =
_HttpRequestHeaders
.Get(HttpKnownHeaderNames.AcceptEncoding) ?? String.Empty;
5019
_HttpRequestHeaders
.AddInternal(HttpKnownHeaderNames.AcceptEncoding, GZipHeader + ", " + DeflateHeader);
5022
_HttpRequestHeaders
.AddInternal(HttpKnownHeaderNames.AcceptEncoding, GZipHeader);
5027
_HttpRequestHeaders
.AddInternal(HttpKnownHeaderNames.AcceptEncoding, DeflateHeader);
5041
_HttpRequestHeaders
.RemoveInternal(HttpKnownHeaderNames.Connection);
5044
_HttpRequestHeaders
.AddInternal(HttpKnownHeaderNames.ProxyConnection,
_HttpRequestHeaders
[HttpKnownHeaderNames.Connection]);
5048
_HttpRequestHeaders
.RemoveInternal(HttpKnownHeaderNames.ProxyConnection);
5055
string connectionValues =
_HttpRequestHeaders
.Get(HttpKnownHeaderNames.Connection) ?? String.Empty;
5058
_HttpRequestHeaders
.AddInternal(HttpKnownHeaderNames.Connection, HttpKnownHeaderNames.Upgrade);
5065
_HttpRequestHeaders
.AddInternal(( (UsesProxySemantics || IsTunnelRequest)? HttpKnownHeaderNames.ProxyConnection : HttpKnownHeaderNames.Connection), "Keep-Alive");
5069
_HttpRequestHeaders
.AddInternal(connectionString, "Close");
5079
string requestHeadersString =
_HttpRequestHeaders
.ToString();
5351
serializationInfo.AddValue("_HttpRequestHeaders",
_HttpRequestHeaders
, typeof(WebHeaderCollection));
5879
_HttpRequestHeaders
.RemoveInternal(HttpKnownHeaderNames.Referer);
5979
_HttpRequestHeaders
.RemoveInternal(HttpKnownHeaderNames.Host);
5980
_HttpRequestHeaders
.RemoveInternal(HttpKnownHeaderNames.Connection);
5981
_HttpRequestHeaders
.RemoveInternal(HttpKnownHeaderNames.ProxyConnection);
5982
_HttpRequestHeaders
.RemoveInternal(HttpKnownHeaderNames.ContentLength);
5983
_HttpRequestHeaders
.RemoveInternal(HttpKnownHeaderNames.TransferEncoding);
5984
_HttpRequestHeaders
.RemoveInternal(HttpKnownHeaderNames.Expect);
6278
string curRange =
_HttpRequestHeaders
[HttpKnownHeaderNames.Range];
6293
_HttpRequestHeaders
.SetAddVerified(HttpKnownHeaderNames.Range, curRange);