7 instantiations of KnownHttpVerb
System (7)
net\System\Net\Internal.cs (7)
1930
Get = new
KnownHttpVerb
("GET", false, true, false, false);
1931
Connect = new
KnownHttpVerb
("CONNECT", false, true, true, false);
1932
Head = new
KnownHttpVerb
("HEAD", false, true, false, true);
1933
Put = new
KnownHttpVerb
("PUT", true, false, false, false);
1934
Post = new
KnownHttpVerb
("POST", true, false, false, false);
1935
MkCol = new
KnownHttpVerb
("MKCOL",false,false,false,false);
1952
knownHttpVerb = new
KnownHttpVerb
(name, false, false, false, false);
28 references to KnownHttpVerb
System (28)
net\System\Net\_Connection.cs (2)
2260
((request.CurrentMethod ==
KnownHttpVerb
.Post || request.CurrentMethod ==
KnownHttpVerb
.Put) &&
net\System\Net\filewebrequest.cs (1)
293
return !
KnownHttpVerb
.Parse(m_method).ContentBodyNotAllowed;
net\System\Net\HttpWebRequest.cs (12)
180
private
KnownHttpVerb
_Verb;
182
private
KnownHttpVerb
_OriginVerb;
1315
if ((onRequestStream || _OriginVerb.Equals(
KnownHttpVerb
.Post) || _OriginVerb.Equals(
KnownHttpVerb
.Put)) && ContentLength == -1 && !AllowWriteStreamBuffering && KeepAlive) {
2528
_OriginVerb =
KnownHttpVerb
.Parse(value);
2532
internal
KnownHttpVerb
CurrentMethod {
5164
_OriginVerb =
KnownHttpVerb
.Get;
5187
_OriginVerb =
KnownHttpVerb
.Parse("CONNECT");
5302
_OriginVerb =
KnownHttpVerb
.Parse(serializationInfo.GetString("_OriginVerb"));
5813
if (CurrentMethod.Equals(
KnownHttpVerb
.Post)) {
5833
GlobalLog.Print("HttpWebRequest#" + ValidationHelper.HashString(this) + "::CheckResubmit() changing Verb from " + CurrentMethod + " to " +
KnownHttpVerb
.Get);
5834
CurrentMethod =
KnownHttpVerb
.Get;
net\System\Net\HttpWebResponse.cs (3)
35
private
KnownHttpVerb
m_Verb;
503
internal HttpWebResponse(Uri responseUri,
KnownHttpVerb
verb, CoreResponseData coreData, string mediaType,
584
m_Verb =
KnownHttpVerb
.Parse(serializationInfo.GetString("m_Verb"));
net\System\Net\Internal.cs (10)
1917
internal static
KnownHttpVerb
Get;
1918
internal static
KnownHttpVerb
Connect;
1919
internal static
KnownHttpVerb
Head;
1920
internal static
KnownHttpVerb
Put;
1921
internal static
KnownHttpVerb
Post;
1922
internal static
KnownHttpVerb
MkCol;
1944
public bool Equals(
KnownHttpVerb
verb) {
1948
public static
KnownHttpVerb
Parse(string name) {
1949
KnownHttpVerb
knownHttpVerb = NamedHeaders[name] as
KnownHttpVerb
;