Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Expect

string? System.Net.HttpWebRequest.Expect
getset

Definition at line 530 of file HttpWebRequest.cs.

531 {
532 get
533 {
534 return _webHeaderCollection["Expect"];
535 }
536 set
537 {
538 if (string.IsNullOrWhiteSpace(value))
539 {
541 return;
542 }
543 if (value.IndexOf("100-continue", StringComparison.OrdinalIgnoreCase) != -1)
544 {
545 throw new ArgumentException(System.SR.net_no100, "value");
546 }
548 _webHeaderCollection["Expect"] = value2;
549 }
550 }
static string CheckBadHeaderValueChars(string value)
WebHeaderCollection _webHeaderCollection
void Remove(HttpRequestHeader header)
static string net_no100
Definition SR.cs:56
Definition SR.cs:7