mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 06:23:03 +03:00
remove regions
This commit is contained in:
@@ -11,16 +11,9 @@ namespace Rssdp.Infrastructure
|
||||
/// <typeparam name="T"></typeparam>
|
||||
public abstract class HttpParserBase<T> where T : new()
|
||||
{
|
||||
|
||||
#region Fields
|
||||
|
||||
private readonly string[] LineTerminators = new string[] { "\r\n", "\n" };
|
||||
private readonly char[] SeparatorCharacters = new char[] { ',', ';' };
|
||||
|
||||
#endregion
|
||||
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// Parses the <paramref name="data"/> provided into either a <see cref="HttpRequestMessage"/> or <see cref="HttpResponseMessage"/> object.
|
||||
/// </summary>
|
||||
@@ -81,10 +74,6 @@ namespace Rssdp.Infrastructure
|
||||
return Version.Parse(versionData.Substring(versionSeparatorIndex + 1));
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Private Methods
|
||||
|
||||
/// <summary>
|
||||
/// Parses a line from an HTTP request or response message containing a header name and value pair.
|
||||
/// </summary>
|
||||
@@ -202,8 +191,5 @@ namespace Rssdp.Infrastructure
|
||||
else
|
||||
return trimmedSegment;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user