lextable-strings.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /* set of parsable strings -- ALL LOWER CASE */
  2. #if !defined(STORE_IN_ROM)
  3. #define STORE_IN_ROM
  4. #endif
  5. STORE_IN_ROM static const char * const set[] = {
  6. "get ",
  7. "post ",
  8. "options ",
  9. "host:",
  10. "connection:",
  11. "upgrade:",
  12. "origin:",
  13. "sec-websocket-draft:",
  14. "\x0d\x0a",
  15. "sec-websocket-extensions:",
  16. "sec-websocket-key1:",
  17. "sec-websocket-key2:",
  18. "sec-websocket-protocol:",
  19. "sec-websocket-accept:",
  20. "sec-websocket-nonce:",
  21. "http/1.1 ",
  22. "http2-settings:",
  23. "accept:",
  24. "access-control-request-headers:",
  25. "if-modified-since:",
  26. "if-none-match:",
  27. "accept-encoding:",
  28. "accept-language:",
  29. "pragma:",
  30. "cache-control:",
  31. "authorization:",
  32. "cookie:",
  33. "content-length:",
  34. "content-type:",
  35. "date:",
  36. "range:",
  37. "referer:",
  38. "sec-websocket-key:",
  39. "sec-websocket-version:",
  40. "sec-websocket-origin:",
  41. ":authority",
  42. ":method",
  43. ":path",
  44. ":scheme",
  45. ":status",
  46. "accept-charset:",
  47. "accept-ranges:",
  48. "access-control-allow-origin:",
  49. "age:",
  50. "allow:",
  51. "content-disposition:",
  52. "content-encoding:",
  53. "content-language:",
  54. "content-location:",
  55. "content-range:",
  56. "etag:",
  57. "expect:",
  58. "expires:",
  59. "from:",
  60. "if-match:",
  61. "if-range:",
  62. "if-unmodified-since:",
  63. "last-modified:",
  64. "link:",
  65. "location:",
  66. "max-forwards:",
  67. "proxy-authenticate:",
  68. "proxy-authorization:",
  69. "refresh:",
  70. "retry-after:",
  71. "server:",
  72. "set-cookie:",
  73. "strict-transport-security:",
  74. "transfer-encoding:",
  75. "user-agent:",
  76. "vary:",
  77. "via:",
  78. "www-authenticate:",
  79. "patch",
  80. "put",
  81. "delete",
  82. "uri-args", /* fake header used for uri-only storage */
  83. "proxy ",
  84. "x-real-ip:",
  85. "http/1.0 ",
  86. "x-forwarded-for",
  87. "connect ",
  88. "", /* not matchable */
  89. };