fixed dashboard caching option

This commit is contained in:
Luke Pulverenti
2013-03-24 22:41:27 -04:00
parent 2bdd9cc1f2
commit 8b32e3292a
4 changed files with 77 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
/// Gets or sets the source stream.
/// </summary>
/// <value>The source stream.</value>
public Stream SourceStream { get; set; }
private Stream SourceStream { get; set; }
/// <summary>
/// The _options
@@ -53,6 +53,17 @@ namespace MediaBrowser.Server.Implementations.HttpServer
Options["Content-Type"] = contentType;
}
/// <summary>
/// Initializes a new instance of the <see cref="StreamWriter"/> class.
/// </summary>
/// <param name="source">The source.</param>
/// <param name="contentType">Type of the content.</param>
/// <param name="logger">The logger.</param>
public StreamWriter(byte[] source, string contentType, ILogger logger)
: this(new MemoryStream(source), contentType, logger)
{
}
/// <summary>
/// Writes to.
/// </summary>