/// <summary>Gets the content type.</summary> public static InternetMediaType GetContentType(this HttpResponseBase reponse) { Guard.NotNull(reponse, "reponse"); return(InternetMediaType.Parse(reponse.ContentType)); }
/// <summary>Gets the content type.</summary> public static InternetMediaType GetContentType(this HttpRequestBase request) { Guard.NotNull(request, "request"); return(InternetMediaType.Parse(request.ContentType)); }