예제 #1
0
 /// <summary>
 ///     Remove a content handler for the specified MIME content type
 /// </summary>
 /// <param name="contentType">MIME content type to remove</param>
 public void RemoveHandler(string contentType)
 {
     ContentHandlers.Remove(contentType);
     AcceptTypes.Remove(contentType);
     this.RemoveDefaultParameter("Accept");
 }
예제 #2
0
 /// <summary>
 /// Remove a content handler for the specified MIME content type
 /// </summary>
 /// <param name="contentType">MIME content type to remove</param>
 public void RemoveHandler(string contentType)
 {
     ContentHandlers.Remove(contentType);
     AcceptTypes.Remove(contentType);
 }