aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Net
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Common/Net')
-rw-r--r--MediaBrowser.Common/Net/HttpResponseInfo.cs6
-rw-r--r--MediaBrowser.Common/Net/IHttpClient.cs2
2 files changed, 8 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Net/HttpResponseInfo.cs b/MediaBrowser.Common/Net/HttpResponseInfo.cs
index 558218ed16..3199dcc1c4 100644
--- a/MediaBrowser.Common/Net/HttpResponseInfo.cs
+++ b/MediaBrowser.Common/Net/HttpResponseInfo.cs
@@ -25,5 +25,11 @@ namespace MediaBrowser.Common.Net
/// </summary>
/// <value>The status code.</value>
public HttpStatusCode StatusCode { get; set; }
+
+ /// <summary>
+ /// Gets or sets the temp file path.
+ /// </summary>
+ /// <value>The temp file path.</value>
+ public string TempFilePath { get; set; }
}
}
diff --git a/MediaBrowser.Common/Net/IHttpClient.cs b/MediaBrowser.Common/Net/IHttpClient.cs
index 6068d4e8c8..93348d4ca0 100644
--- a/MediaBrowser.Common/Net/IHttpClient.cs
+++ b/MediaBrowser.Common/Net/IHttpClient.cs
@@ -72,5 +72,7 @@ namespace MediaBrowser.Common.Net
/// <exception cref="System.ArgumentNullException">progress</exception>
/// <exception cref="MediaBrowser.Model.Net.HttpException"></exception>
Task<string> GetTempFile(HttpRequestOptions options);
+
+ Task<HttpResponseInfo> GetTempFileResponse(HttpRequestOptions options);
}
} \ No newline at end of file