From 87598ca6d064aa7d3f20ef7ee564aab31f2cb53e Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 4 May 2013 00:07:27 -0400 Subject: add customizable accept header to http client interface --- MediaBrowser.Common/Net/IHttpClient.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'MediaBrowser.Common/Net/IHttpClient.cs') diff --git a/MediaBrowser.Common/Net/IHttpClient.cs b/MediaBrowser.Common/Net/IHttpClient.cs index 87f9b5d71..2998d1af9 100644 --- a/MediaBrowser.Common/Net/IHttpClient.cs +++ b/MediaBrowser.Common/Net/IHttpClient.cs @@ -28,7 +28,14 @@ namespace MediaBrowser.Common.Net /// The cancellation token. /// Task{Stream}. Task Get(string url, CancellationToken cancellationToken); - + + /// + /// Gets the specified options. + /// + /// The options. + /// Task{Stream}. + Task Get(HttpRequestOptions options); + /// /// Performs a POST request /// -- cgit v1.2.3