aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Common')
-rw-r--r--MediaBrowser.Common/IO/IFileSystem.cs9
-rw-r--r--MediaBrowser.Common/Net/HttpResponseInfo.cs9
2 files changed, 17 insertions, 1 deletions
diff --git a/MediaBrowser.Common/IO/IFileSystem.cs b/MediaBrowser.Common/IO/IFileSystem.cs
index f721e80ea..de9b7e88a 100644
--- a/MediaBrowser.Common/IO/IFileSystem.cs
+++ b/MediaBrowser.Common/IO/IFileSystem.cs
@@ -103,5 +103,14 @@ namespace MediaBrowser.Common.IO
/// <param name="path">The path.</param>
/// <returns>System.String.</returns>
string NormalizePath(string path);
+
+ /// <summary>
+ /// Substitutes the path.
+ /// </summary>
+ /// <param name="path">The path.</param>
+ /// <param name="from">From.</param>
+ /// <param name="to">To.</param>
+ /// <returns>System.String.</returns>
+ string SubstitutePath(string path, string from, string to);
}
}
diff --git a/MediaBrowser.Common/Net/HttpResponseInfo.cs b/MediaBrowser.Common/Net/HttpResponseInfo.cs
index 3199dcc1c..83c98007d 100644
--- a/MediaBrowser.Common/Net/HttpResponseInfo.cs
+++ b/MediaBrowser.Common/Net/HttpResponseInfo.cs
@@ -1,4 +1,5 @@
-using System.IO;
+using System.Collections.Specialized;
+using System.IO;
using System.Net;
namespace MediaBrowser.Common.Net
@@ -31,5 +32,11 @@ namespace MediaBrowser.Common.Net
/// </summary>
/// <value>The temp file path.</value>
public string TempFilePath { get; set; }
+
+ /// <summary>
+ /// Gets or sets the headers.
+ /// </summary>
+ /// <value>The headers.</value>
+ public NameValueCollection Headers { get; set; }
}
}