aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Net/HttpResponseInfo.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-06-28 16:25:58 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-06-28 16:25:58 -0400
commit8a1b12b7d805ce35f4e10acf2294f355f47e75e3 (patch)
tree71fc6b154b3b4e335fe9af1a58fdb584042dd92a /MediaBrowser.Common/Net/HttpResponseInfo.cs
parentac7d6256f460ce459a5b5c824e1b32d23e120901 (diff)
tightened up image saving to reduce knowledge of file names
Diffstat (limited to 'MediaBrowser.Common/Net/HttpResponseInfo.cs')
-rw-r--r--MediaBrowser.Common/Net/HttpResponseInfo.cs29
1 files changed, 29 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Net/HttpResponseInfo.cs b/MediaBrowser.Common/Net/HttpResponseInfo.cs
new file mode 100644
index 000000000..558218ed1
--- /dev/null
+++ b/MediaBrowser.Common/Net/HttpResponseInfo.cs
@@ -0,0 +1,29 @@
+using System.IO;
+using System.Net;
+
+namespace MediaBrowser.Common.Net
+{
+ /// <summary>
+ /// Class HttpResponseInfo
+ /// </summary>
+ public class HttpResponseInfo
+ {
+ /// <summary>
+ /// Gets or sets the type of the content.
+ /// </summary>
+ /// <value>The type of the content.</value>
+ public string ContentType { get; set; }
+
+ /// <summary>
+ /// Gets or sets the content.
+ /// </summary>
+ /// <value>The content.</value>
+ public Stream Content { get; set; }
+
+ /// <summary>
+ /// Gets or sets the status code.
+ /// </summary>
+ /// <value>The status code.</value>
+ public HttpStatusCode StatusCode { get; set; }
+ }
+}