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

◆ CheckContainsNewLine()

static void System.Net.Http.Headers.HttpHeaders.CheckContainsNewLine ( string value)
inlinestaticpackageinherited

Definition at line 891 of file HttpHeaders.cs.

892 {
893 if (value == null || !HttpRuleParser.ContainsNewLine(value))
894 {
895 return;
896 }
897 throw new FormatException(System.SR.net_http_headers_no_newlines);
898 }
static string net_http_headers_no_newlines
Definition SR.cs:36
Definition SR.cs:7

References System.Net.Http.HttpRuleParser.ContainsNewLine(), System.SR.net_http_headers_no_newlines, and System.value.

Referenced by System.Net.Http.Headers.AuthenticationHeaderValue.AuthenticationHeaderValue(), and System.Net.Http.Headers.HttpHeaders.ParseAndAddValue().