2
0

lextable-strings.h 1.7 KB

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