Constants.cs 643 B

123456789101112131415
  1. namespace Best.HTTP.Hosts.Connections.HTTP1
  2. {
  3. public static class Constants
  4. {
  5. public const byte CR = 13;
  6. public const byte LF = 10;
  7. public static readonly byte[] EOL = { Constants.CR, Constants.LF };
  8. public static readonly byte[] HeaderValueSeparator = { (byte)':' };
  9. // expect: 100-continue
  10. //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 };
  11. }
  12. }