mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-31 21:08:27 +01:00
remove regions
This commit is contained in:
@@ -10,17 +10,10 @@ namespace Rssdp.Infrastructure
|
||||
/// </summary>
|
||||
public sealed class HttpResponseParser : HttpParserBase<HttpResponseMessage>
|
||||
{
|
||||
|
||||
#region Fields & Constants
|
||||
|
||||
private readonly string[] ContentHeaderNames = new string[]
|
||||
{
|
||||
"Allow", "Content-Disposition", "Content-Encoding", "Content-Language", "Content-Length", "Content-Location", "Content-MD5", "Content-Range", "Content-Type", "Expires", "Last-Modified"
|
||||
};
|
||||
|
||||
#endregion
|
||||
|
||||
#region Public Methods
|
||||
{
|
||||
"Allow", "Content-Disposition", "Content-Encoding", "Content-Language", "Content-Length", "Content-Location", "Content-MD5", "Content-Range", "Content-Type", "Expires", "Last-Modified"
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// Parses the specified data into a <see cref="HttpResponseMessage"/> instance.
|
||||
@@ -47,10 +40,6 @@ namespace Rssdp.Infrastructure
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Overrides Methods
|
||||
|
||||
/// <summary>
|
||||
/// Returns a boolean indicating whether the specified HTTP header name represents a content header (true), or a message header (false).
|
||||
/// </summary>
|
||||
@@ -87,7 +76,5 @@ namespace Rssdp.Infrastructure
|
||||
message.ReasonPhrase = parts[2].Trim();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user