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.

691 lines
9.6 KiB

4 years ago
  1. exports.table = [
  2. {
  3. "name": ":authority",
  4. "value": "",
  5. "nameSize": 10,
  6. "totalSize": 42
  7. },
  8. {
  9. "name": ":method",
  10. "value": "GET",
  11. "nameSize": 7,
  12. "totalSize": 42
  13. },
  14. {
  15. "name": ":method",
  16. "value": "POST",
  17. "nameSize": 7,
  18. "totalSize": 43
  19. },
  20. {
  21. "name": ":path",
  22. "value": "/",
  23. "nameSize": 5,
  24. "totalSize": 38
  25. },
  26. {
  27. "name": ":path",
  28. "value": "/index.html",
  29. "nameSize": 5,
  30. "totalSize": 48
  31. },
  32. {
  33. "name": ":scheme",
  34. "value": "http",
  35. "nameSize": 7,
  36. "totalSize": 43
  37. },
  38. {
  39. "name": ":scheme",
  40. "value": "https",
  41. "nameSize": 7,
  42. "totalSize": 44
  43. },
  44. {
  45. "name": ":status",
  46. "value": "200",
  47. "nameSize": 7,
  48. "totalSize": 42
  49. },
  50. {
  51. "name": ":status",
  52. "value": "204",
  53. "nameSize": 7,
  54. "totalSize": 42
  55. },
  56. {
  57. "name": ":status",
  58. "value": "206",
  59. "nameSize": 7,
  60. "totalSize": 42
  61. },
  62. {
  63. "name": ":status",
  64. "value": "304",
  65. "nameSize": 7,
  66. "totalSize": 42
  67. },
  68. {
  69. "name": ":status",
  70. "value": "400",
  71. "nameSize": 7,
  72. "totalSize": 42
  73. },
  74. {
  75. "name": ":status",
  76. "value": "404",
  77. "nameSize": 7,
  78. "totalSize": 42
  79. },
  80. {
  81. "name": ":status",
  82. "value": "500",
  83. "nameSize": 7,
  84. "totalSize": 42
  85. },
  86. {
  87. "name": "accept-charset",
  88. "value": "",
  89. "nameSize": 14,
  90. "totalSize": 46
  91. },
  92. {
  93. "name": "accept-encoding",
  94. "value": "gzip, deflate",
  95. "nameSize": 15,
  96. "totalSize": 60
  97. },
  98. {
  99. "name": "accept-language",
  100. "value": "",
  101. "nameSize": 15,
  102. "totalSize": 47
  103. },
  104. {
  105. "name": "accept-ranges",
  106. "value": "",
  107. "nameSize": 13,
  108. "totalSize": 45
  109. },
  110. {
  111. "name": "accept",
  112. "value": "",
  113. "nameSize": 6,
  114. "totalSize": 38
  115. },
  116. {
  117. "name": "access-control-allow-origin",
  118. "value": "",
  119. "nameSize": 27,
  120. "totalSize": 59
  121. },
  122. {
  123. "name": "age",
  124. "value": "",
  125. "nameSize": 3,
  126. "totalSize": 35
  127. },
  128. {
  129. "name": "allow",
  130. "value": "",
  131. "nameSize": 5,
  132. "totalSize": 37
  133. },
  134. {
  135. "name": "authorization",
  136. "value": "",
  137. "nameSize": 13,
  138. "totalSize": 45
  139. },
  140. {
  141. "name": "cache-control",
  142. "value": "",
  143. "nameSize": 13,
  144. "totalSize": 45
  145. },
  146. {
  147. "name": "content-disposition",
  148. "value": "",
  149. "nameSize": 19,
  150. "totalSize": 51
  151. },
  152. {
  153. "name": "content-encoding",
  154. "value": "",
  155. "nameSize": 16,
  156. "totalSize": 48
  157. },
  158. {
  159. "name": "content-language",
  160. "value": "",
  161. "nameSize": 16,
  162. "totalSize": 48
  163. },
  164. {
  165. "name": "content-length",
  166. "value": "",
  167. "nameSize": 14,
  168. "totalSize": 46
  169. },
  170. {
  171. "name": "content-location",
  172. "value": "",
  173. "nameSize": 16,
  174. "totalSize": 48
  175. },
  176. {
  177. "name": "content-range",
  178. "value": "",
  179. "nameSize": 13,
  180. "totalSize": 45
  181. },
  182. {
  183. "name": "content-type",
  184. "value": "",
  185. "nameSize": 12,
  186. "totalSize": 44
  187. },
  188. {
  189. "name": "cookie",
  190. "value": "",
  191. "nameSize": 6,
  192. "totalSize": 38
  193. },
  194. {
  195. "name": "date",
  196. "value": "",
  197. "nameSize": 4,
  198. "totalSize": 36
  199. },
  200. {
  201. "name": "etag",
  202. "value": "",
  203. "nameSize": 4,
  204. "totalSize": 36
  205. },
  206. {
  207. "name": "expect",
  208. "value": "",
  209. "nameSize": 6,
  210. "totalSize": 38
  211. },
  212. {
  213. "name": "expires",
  214. "value": "",
  215. "nameSize": 7,
  216. "totalSize": 39
  217. },
  218. {
  219. "name": "from",
  220. "value": "",
  221. "nameSize": 4,
  222. "totalSize": 36
  223. },
  224. {
  225. "name": "host",
  226. "value": "",
  227. "nameSize": 4,
  228. "totalSize": 36
  229. },
  230. {
  231. "name": "if-match",
  232. "value": "",
  233. "nameSize": 8,
  234. "totalSize": 40
  235. },
  236. {
  237. "name": "if-modified-since",
  238. "value": "",
  239. "nameSize": 17,
  240. "totalSize": 49
  241. },
  242. {
  243. "name": "if-none-match",
  244. "value": "",
  245. "nameSize": 13,
  246. "totalSize": 45
  247. },
  248. {
  249. "name": "if-range",
  250. "value": "",
  251. "nameSize": 8,
  252. "totalSize": 40
  253. },
  254. {
  255. "name": "if-unmodified-since",
  256. "value": "",
  257. "nameSize": 19,
  258. "totalSize": 51
  259. },
  260. {
  261. "name": "last-modified",
  262. "value": "",
  263. "nameSize": 13,
  264. "totalSize": 45
  265. },
  266. {
  267. "name": "link",
  268. "value": "",
  269. "nameSize": 4,
  270. "totalSize": 36
  271. },
  272. {
  273. "name": "location",
  274. "value": "",
  275. "nameSize": 8,
  276. "totalSize": 40
  277. },
  278. {
  279. "name": "max-forwards",
  280. "value": "",
  281. "nameSize": 12,
  282. "totalSize": 44
  283. },
  284. {
  285. "name": "proxy-authenticate",
  286. "value": "",
  287. "nameSize": 18,
  288. "totalSize": 50
  289. },
  290. {
  291. "name": "proxy-authorization",
  292. "value": "",
  293. "nameSize": 19,
  294. "totalSize": 51
  295. },
  296. {
  297. "name": "range",
  298. "value": "",
  299. "nameSize": 5,
  300. "totalSize": 37
  301. },
  302. {
  303. "name": "referer",
  304. "value": "",
  305. "nameSize": 7,
  306. "totalSize": 39
  307. },
  308. {
  309. "name": "refresh",
  310. "value": "",
  311. "nameSize": 7,
  312. "totalSize": 39
  313. },
  314. {
  315. "name": "retry-after",
  316. "value": "",
  317. "nameSize": 11,
  318. "totalSize": 43
  319. },
  320. {
  321. "name": "server",
  322. "value": "",
  323. "nameSize": 6,
  324. "totalSize": 38
  325. },
  326. {
  327. "name": "set-cookie",
  328. "value": "",
  329. "nameSize": 10,
  330. "totalSize": 42
  331. },
  332. {
  333. "name": "strict-transport-security",
  334. "value": "",
  335. "nameSize": 25,
  336. "totalSize": 57
  337. },
  338. {
  339. "name": "transfer-encoding",
  340. "value": "",
  341. "nameSize": 17,
  342. "totalSize": 49
  343. },
  344. {
  345. "name": "user-agent",
  346. "value": "",
  347. "nameSize": 10,
  348. "totalSize": 42
  349. },
  350. {
  351. "name": "vary",
  352. "value": "",
  353. "nameSize": 4,
  354. "totalSize": 36
  355. },
  356. {
  357. "name": "via",
  358. "value": "",
  359. "nameSize": 3,
  360. "totalSize": 35
  361. },
  362. {
  363. "name": "www-authenticate",
  364. "value": "",
  365. "nameSize": 16,
  366. "totalSize": 48
  367. }
  368. ];
  369. exports.map = {
  370. ":authority": {
  371. "index": 1,
  372. "values": {
  373. "": 1
  374. }
  375. },
  376. ":method": {
  377. "index": 2,
  378. "values": {
  379. "GET": 2,
  380. "POST": 3
  381. }
  382. },
  383. ":path": {
  384. "index": 4,
  385. "values": {
  386. "/": 4,
  387. "/index.html": 5
  388. }
  389. },
  390. ":scheme": {
  391. "index": 6,
  392. "values": {
  393. "http": 6,
  394. "https": 7
  395. }
  396. },
  397. ":status": {
  398. "index": 8,
  399. "values": {
  400. "200": 8,
  401. "204": 9,
  402. "206": 10,
  403. "304": 11,
  404. "400": 12,
  405. "404": 13,
  406. "500": 14
  407. }
  408. },
  409. "accept-charset": {
  410. "index": 15,
  411. "values": {
  412. "": 15
  413. }
  414. },
  415. "accept-encoding": {
  416. "index": 16,
  417. "values": {
  418. "gzip, deflate": 16
  419. }
  420. },
  421. "accept-language": {
  422. "index": 17,
  423. "values": {
  424. "": 17
  425. }
  426. },
  427. "accept-ranges": {
  428. "index": 18,
  429. "values": {
  430. "": 18
  431. }
  432. },
  433. "accept": {
  434. "index": 19,
  435. "values": {
  436. "": 19
  437. }
  438. },
  439. "access-control-allow-origin": {
  440. "index": 20,
  441. "values": {
  442. "": 20
  443. }
  444. },
  445. "age": {
  446. "index": 21,
  447. "values": {
  448. "": 21
  449. }
  450. },
  451. "allow": {
  452. "index": 22,
  453. "values": {
  454. "": 22
  455. }
  456. },
  457. "authorization": {
  458. "index": 23,
  459. "values": {
  460. "": 23
  461. }
  462. },
  463. "cache-control": {
  464. "index": 24,
  465. "values": {
  466. "": 24
  467. }
  468. },
  469. "content-disposition": {
  470. "index": 25,
  471. "values": {
  472. "": 25
  473. }
  474. },
  475. "content-encoding": {
  476. "index": 26,
  477. "values": {
  478. "": 26
  479. }
  480. },
  481. "content-language": {
  482. "index": 27,
  483. "values": {
  484. "": 27
  485. }
  486. },
  487. "content-length": {
  488. "index": 28,
  489. "values": {
  490. "": 28
  491. }
  492. },
  493. "content-location": {
  494. "index": 29,
  495. "values": {
  496. "": 29
  497. }
  498. },
  499. "content-range": {
  500. "index": 30,
  501. "values": {
  502. "": 30
  503. }
  504. },
  505. "content-type": {
  506. "index": 31,
  507. "values": {
  508. "": 31
  509. }
  510. },
  511. "cookie": {
  512. "index": 32,
  513. "values": {
  514. "": 32
  515. }
  516. },
  517. "date": {
  518. "index": 33,
  519. "values": {
  520. "": 33
  521. }
  522. },
  523. "etag": {
  524. "index": 34,
  525. "values": {
  526. "": 34
  527. }
  528. },
  529. "expect": {
  530. "index": 35,
  531. "values": {
  532. "": 35
  533. }
  534. },
  535. "expires": {
  536. "index": 36,
  537. "values": {
  538. "": 36
  539. }
  540. },
  541. "from": {
  542. "index": 37,
  543. "values": {
  544. "": 37
  545. }
  546. },
  547. "host": {
  548. "index": 38,
  549. "values": {
  550. "": 38
  551. }
  552. },
  553. "if-match": {
  554. "index": 39,
  555. "values": {
  556. "": 39
  557. }
  558. },
  559. "if-modified-since": {
  560. "index": 40,
  561. "values": {
  562. "": 40
  563. }
  564. },
  565. "if-none-match": {
  566. "index": 41,
  567. "values": {
  568. "": 41
  569. }
  570. },
  571. "if-range": {
  572. "index": 42,
  573. "values": {
  574. "": 42
  575. }
  576. },
  577. "if-unmodified-since": {
  578. "index": 43,
  579. "values": {
  580. "": 43
  581. }
  582. },
  583. "last-modified": {
  584. "index": 44,
  585. "values": {
  586. "": 44
  587. }
  588. },
  589. "link": {
  590. "index": 45,
  591. "values": {
  592. "": 45
  593. }
  594. },
  595. "location": {
  596. "index": 46,
  597. "values": {
  598. "": 46
  599. }
  600. },
  601. "max-forwards": {
  602. "index": 47,
  603. "values": {
  604. "": 47
  605. }
  606. },
  607. "proxy-authenticate": {
  608. "index": 48,
  609. "values": {
  610. "": 48
  611. }
  612. },
  613. "proxy-authorization": {
  614. "index": 49,
  615. "values": {
  616. "": 49
  617. }
  618. },
  619. "range": {
  620. "index": 50,
  621. "values": {
  622. "": 50
  623. }
  624. },
  625. "referer": {
  626. "index": 51,
  627. "values": {
  628. "": 51
  629. }
  630. },
  631. "refresh": {
  632. "index": 52,
  633. "values": {
  634. "": 52
  635. }
  636. },
  637. "retry-after": {
  638. "index": 53,
  639. "values": {
  640. "": 53
  641. }
  642. },
  643. "server": {
  644. "index": 54,
  645. "values": {
  646. "": 54
  647. }
  648. },
  649. "set-cookie": {
  650. "index": 55,
  651. "values": {
  652. "": 55
  653. }
  654. },
  655. "strict-transport-security": {
  656. "index": 56,
  657. "values": {
  658. "": 56
  659. }
  660. },
  661. "transfer-encoding": {
  662. "index": 57,
  663. "values": {
  664. "": 57
  665. }
  666. },
  667. "user-agent": {
  668. "index": 58,
  669. "values": {
  670. "": 58
  671. }
  672. },
  673. "vary": {
  674. "index": 59,
  675. "values": {
  676. "": 59
  677. }
  678. },
  679. "via": {
  680. "index": 60,
  681. "values": {
  682. "": 60
  683. }
  684. },
  685. "www-authenticate": {
  686. "index": 61,
  687. "values": {
  688. "": 61
  689. }
  690. }
  691. };