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

  1. //------------------------------------------------------------------------------
  2. // <copyright file="HttpResponseHeader.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 HttpResponseHeader
  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.         AcceptRanges = 20,
  61.         // response-header [section 6.2]
  62.         Age = 21,
  63.         // response-header [section 6.2]
  64.         ETag = 22,
  65.         // response-header [section 6.2]
  66.         Location = 23,
  67.         // response-header [section 6.2]
  68.         ProxyAuthenticate = 24,
  69.         // response-header [section 6.2]
  70.         RetryAfter = 25,
  71.         // response-header [section 6.2]
  72.         Server = 26,
  73.         // response-header [section 6.2]
  74.         SetCookie = 27,
  75.         // response-header [not in rfc]
  76.         Vary = 28,
  77.         // response-header [section 6.2]
  78.         WwwAuthenticate = 29
  79.         // response-header [section 6.2]
  80.     }
  81.    
  82. }

Developer Fusion