Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.5 KiB

  1. README.txt
  2. Author: Murali R. Krishnan (MuraliK)
  3. Created: Nov 13, 1996
  4. Revisions:
  5. Date By Comments
  6. ----------------- -------- -------------------------------------------
  7. Sept 29, 1997 MuraliK Moved to svcs\irtl\httphdr
  8. Fixed bugs in HTTP_HEADERS::ParseInput()
  9. Summary :
  10. This file describes the files in the directory irtl\httphdr
  11. and details related to HTTP Header Dictionary.
  12. File Description
  13. README.txt This file.
  14. httphdr.hxx Header file containing declarations.
  15. httphdr.cxx Implementation of Header Mapper and Header dictionary.
  16. tdict.cxx Test program for Dictionary headers.
  17. Implementation Details
  18. Contents:
  19. 1. Design of Dictionary and Mapper
  20. 2. Replacements for old PARAM_LIST object in w3svc
  21. 1. Design of Dictionary and Mapper
  22. class HTTP_HEADERS
  23. class HTTP_HEADER_MAPPER
  24. <To Be Done>
  25. 2. Replacements for old PARAM_LIST object in w3svc
  26. O L D => N E W
  27. HEADER_MAP::
  28. Reset() => HTTP_HEADERS::Reset()
  29. Store() => HTTP_HEADERS:FastMapStore()
  30. Cancel() => HTTP_HEADERS:FastMapCancel()
  31. MaxIndex() => HTTP_HEADERS::FastMapMaxIndex()
  32. MaxMap() => HTTP_HEADER_MAPPER::NumItems()
  33. CheckConcatAndStore() => HTTP_HEADERS::FastMapStoreWithConcat()
  34. QueryStrValue() => HTTP_HEADERS::FastMapQueryStrValue()
  35. QueryValue() => HTTP_HEADERS::FastMapQueryValue()
  36. IsEmpty() => Nuked
  37. PARAM_LIST::
  38. Reset() => HTTP_HEADERS::Reset()
  39. GetFastMap() => No need - use Fast map functions directly
  40. FindValue() => HTTP_HEADERS::FindValue()
  41. RemoveEntry() => CancelHeader()
  42. AddEntryUsingConcat() => HTTP_HEADERS::StoreHeader()
  43. AddEntry() => filter uses this - StoreHeader() is sufficient
  44. -- rewriting code to check fast-map and op, is better
  45. Enumerator functions:
  46. NextPair() => are hard to achieve. Since the "header-name" is
  47. not NULL terminated. We have to work-around this
  48. by fixing the users of this call.
  49. New Enumerators will return NAME_VALUE_PAIRS
  50. FastMapEnumerate(),
  51. ChunkEnumerator()
  52. Nuked:
  53. GetCount()
  54. AddParam()
  55. ParsePairs()
  56. ParseSimpleList()
  57. ParseHeaderList()