MimeTypesHelperCustomHttpAcceptHeader Method (IEnumerableString, IEnumerableString) |
Namespace: VDS.RDF
public static string CustomHttpAcceptHeader( IEnumerable<string> mimeTypes, IEnumerable<string> supportedTypes )
[Missing <returns> documentation for "M:VDS.RDF.MimeTypesHelper.CustomHttpAcceptHeader(System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IEnumerable{System.String})"]
Note: No validation is done on MIME Types so it is possible to generated a malformed header using this function.
Use this function when you wish to generate a Custom Accept Header where the URI to which you are making requests supports a set range of URIs (given in the mimeTypes parameter) where that range of types may exceed the range of types actually supported by the library or your response processing code.