Files
ichni_Official/Packages/com.tivadar.best.http/Runtime/HTTP/Hosts/Connections/HTTP1/Constants.cs
2026-06-15 18:18:16 +08:00

16 lines
654 B
C#

namespace Best.HTTP.Hosts.Connections.HTTP1
{
public static class Constants
{
public const byte CR = 13;
public const byte LF = 10;
public static readonly byte[] EOL = { Constants.CR, Constants.LF };
public static readonly byte[] HeaderValueSeparator = { (byte)':', (byte)' ' };
// expect: 100-continue
//public static readonly byte[] Expect100Continue = { (byte)'e', (byte)'x', (byte)'p', (byte)'e', (byte)'c', (byte)'t', (byte)':', (byte)' ', (byte)'1', (byte)'0', (byte)'0', (byte)'-', (byte)'c', (byte)'o', (byte)'n', (byte)'t', (byte)'i', (byte)'n', (byte)'u', (byte)'e', CR, LF };
}
}