Microsoft.Net.Http.Headers
Sets both FileName and FileNameStar using encodings appropriate for HTTP headers.
Sets the FileName parameter using encodings appropriate for MIME headers.
The FileNameStar paraemter is removed.
Quality factor to indicate a perfect match.
Quality factor to indicate no match.
MediaType = "*/*"
SubType = "*"
Gets a value indicating whether this is a subset of
. A "subset" is defined as the same or a more specific media type
according to the precedence described in https://www.ietf.org/rfc/rfc2068.txt section 14.1, Accept.
The to compare.
A value indicating whether this is a subset of
.
For example "multipart/mixed; boundary=1234" is a subset of "multipart/mixed; boundary=1234",
"multipart/mixed", "multipart/*", and "*/*" but not "multipart/mixed; boundary=2345" or
"multipart/message; boundary=1234".
Performs a deep copy of this object and all of it's NameValueHeaderValue sub components,
while avoiding the cost of revalidating the components.
A deep copy.
Performs a deep copy of this object and all of it's NameValueHeaderValue sub components,
while avoiding the cost of revalidating the components. This copy is read-only.
A deep, read-only, copy.
Implementation of that can compare accept media type header fields
based on their quality values (a.k.a q-values).
Performs comparisons based on the arguments' quality values
(aka their "q-value"). Values with identical q-values are considered equal (i.e. the result is 0)
with the exception that subtype wildcards are considered less than specific media types and full
wildcards are considered less than subtype wildcards. This allows callers to sort a sequence of
following their q-values in the order of specific
media types, subtype wildcards, and last any full wildcards.
Provides a copy of this object without the cost of re-validating the values.
A copy.
Append string representation of this to given
.
The to receive the string representation of this
.
Implementation of that can compare content negotiation header fields
based on their quality values (a.k.a q-values). This applies to values used in accept-charset,
accept-encoding, accept-language and related header fields with similar syntax rules. See
for a comparer for media type
q-values.
Compares two based on their quality value
(a.k.a their "q-value").
Values with identical q-values are considered equal (i.e the result is 0) with the exception of wild-card
values (i.e. a value of "*") which are considered less than non-wild-card values. This allows to sort
a sequence of following their q-values ending up with any
wild-cards at the end.
The first value to compare.
The second value to compare
The result of the comparison.