Beispiel #1
0
 public ContentTypeHeader(string value, QuantifiedHeaderValue quantifiedHeaderValue)
     : base(NAME, value, quantifiedHeaderValue)
 {
     ContentType    = QuantifiedHeaderValue.HeaderValue;
     ContentCharset = QuantifiedHeaderValue.FindQuantifierValue(CHARSET_QUANTIFIER_NAME);
 }
Beispiel #2
0
 private static string GetMediaType(QuantifiedHeaderValue arg)
 {
     return(arg.HeaderValue);
 }
Beispiel #3
0
 private static string GetAcceptEncoding(QuantifiedHeaderValue arg)
 {
     return(arg.HeaderValue);
 }