The Labs \ Source Viewer \ SSCLI \ System.Net \ HttpRequestHeader

  1. //------------------------------------------------------------------------------
  2. // <copyright file="HttpRequestHeader.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. //------------------------------------------------------------------------------
  15. namespace System.Net
  16. {
  17.    
  18.     public enum HttpRequestHeader
  19.     {
  20.         CacheControl = 0,
  21.         // general-header [section 4.5]
  22.         Connection = 1,
  23.         // general-header [section 4.5]
  24.         Date = 2,
  25.         // general-header [section 4.5]
  26.         KeepAlive = 3,
  27.         // general-header [not in rfc]
  28.         Pragma = 4,
  29.         // general-header [section 4.5]
  30.         Trailer = 5,
  31.         // general-header [section 4.5]
  32.         TransferEncoding = 6,
  33.         // general-header [section 4.5]
  34.         Upgrade = 7,
  35.         // general-header [section 4.5]
  36.         Via = 8,
  37.         // general-header [section 4.5]
  38.         Warning = 9,
  39.         // general-header [section 4.5]
  40.         Allow = 10,
  41.         // entity-header [section 7.1]
  42.         ContentLength = 11,
  43.         // entity-header [section 7.1]
  44.         ContentType = 12,
  45.         // entity-header [section 7.1]
  46.         ContentEncoding = 13,
  47.         // entity-header [section 7.1]
  48.         ContentLanguage = 14,
  49.         // entity-header [section 7.1]
  50.         ContentLocation = 15,
  51.         // entity-header [section 7.1]
  52.         ContentMd5 = 16,
  53.         // entity-header [section 7.1]
  54.         ContentRange = 17,
  55.         // entity-header [section 7.1]
  56.         Expires = 18,
  57.         // entity-header [section 7.1]
  58.         LastModified = 19,
  59.         // entity-header [section 7.1]
  60.         Accept = 20,
  61.         // request-header [section 5.3]
  62.         AcceptCharset = 21,
  63.         // request-header [section 5.3]
  64.         AcceptEncoding = 22,
  65.         // request-header [section 5.3]
  66.         AcceptLanguage = 23,
  67.         // request-header [section 5.3]
  68.         Authorization = 24,
  69.         // request-header [section 5.3]
  70.         Cookie = 25,
  71.         // request-header [not in rfc]
  72.         Expect = 26,
  73.         // request-header [section 5.3]
  74.         From = 27,
  75.         // request-header [section 5.3]
  76.         Host = 28,
  77.         // request-header [section 5.3]
  78.         IfMatch = 29,
  79.         // request-header [section 5.3]
  80.         IfModifiedSince = 30,
  81.         // request-header [section 5.3]
  82.         IfNoneMatch = 31,
  83.         // request-header [section 5.3]
  84.         IfRange = 32,
  85.         // request-header [section 5.3]
  86.         IfUnmodifiedSince = 33,
  87.         // request-header [section 5.3]
  88.         MaxForwards = 34,
  89.         // request-header [section 5.3]
  90.         ProxyAuthorization = 35,
  91.         // request-header [section 5.3]
  92.         Referer = 36,
  93.         // request-header [section 5.3]
  94.         Range = 37,
  95.         // request-header [section 5.3]
  96.         Te = 38,
  97.         // request-header [section 5.3]
  98.         Translate = 39,
  99.         // request-header [webDAV, not in rfc 2518]
  100.         UserAgent = 40
  101.         // request-header [section 5.3]
  102.     }
  103.    
  104. }

Developer Fusion