Repository navigation
Expand file tree
/
Copy pathdb.json
More file actions
1 lines (1 loc) · 108 KB
/
Copy pathdb.json
File metadata and controls
1 lines (1 loc) · 108 KB
1
{"meta":{"version":1,"warehouse":"2.2.0"},"models":{"Asset":[{"_id":"source/CNAME","path":"CNAME","modified":0,"renderable":0},{"_id":"source/leancloud.memo","path":"leancloud.memo","modified":0,"renderable":0},{"_id":"source/uploads/avatar.jpg","path":"uploads/avatar.jpg","modified":0,"renderable":0},{"_id":"themes/next/source/css/main.styl","path":"css/main.styl","modified":0,"renderable":1},{"_id":"themes/next/source/images/1.svg","path":"images/1.svg","modified":0,"renderable":1},{"_id":"themes/next/source/images/algolia_logo.svg","path":"images/algolia_logo.svg","modified":0,"renderable":1},{"_id":"themes/next/source/images/apple-touch-icon-next.png","path":"images/apple-touch-icon-next.png","modified":0,"renderable":1},{"_id":"themes/next/source/images/avatar.gif","path":"images/avatar.gif","modified":0,"renderable":1},{"_id":"themes/next/source/images/cc-by-nc-nd.svg","path":"images/cc-by-nc-nd.svg","modified":0,"renderable":1},{"_id":"themes/next/source/images/cc-by-nc-sa.svg","path":"images/cc-by-nc-sa.svg","modified":0,"renderable":1},{"_id":"themes/next/source/images/cc-by-nc.svg","path":"images/cc-by-nc.svg","modified":0,"renderable":1},{"_id":"themes/next/source/images/cc-by-nd.svg","path":"images/cc-by-nd.svg","modified":0,"renderable":1},{"_id":"themes/next/source/images/cc-by-sa.svg","path":"images/cc-by-sa.svg","modified":0,"renderable":1},{"_id":"themes/next/source/images/cc-by.svg","path":"images/cc-by.svg","modified":0,"renderable":1},{"_id":"themes/next/source/images/cc-zero.svg","path":"images/cc-zero.svg","modified":0,"renderable":1},{"_id":"themes/next/source/images/favicon-16x16-next.png","path":"images/favicon-16x16-next.png","modified":0,"renderable":1},{"_id":"themes/next/source/images/favicon-32x32-next.png","path":"images/favicon-32x32-next.png","modified":0,"renderable":1},{"_id":"themes/next/source/images/favicon.ico","path":"images/favicon.ico","modified":0,"renderable":1},{"_id":"themes/next/source/images/loading.gif","path":"images/loading.gif","modified":0,"renderable":1},{"_id":"themes/next/source/images/placeholder.gif","path":"images/placeholder.gif","modified":0,"renderable":1},{"_id":"themes/next/source/images/quote-l.svg","path":"images/quote-l.svg","modified":0,"renderable":1},{"_id":"themes/next/source/images/quote-r.svg","path":"images/quote-r.svg","modified":0,"renderable":1},{"_id":"themes/next/source/images/searchicon.png","path":"images/searchicon.png","modified":0,"renderable":1},{"_id":"themes/next/source/js/src/affix.js","path":"js/src/affix.js","modified":0,"renderable":1},{"_id":"themes/next/source/js/src/algolia-search.js","path":"js/src/algolia-search.js","modified":0,"renderable":1},{"_id":"themes/next/source/js/src/bootstrap.js","path":"js/src/bootstrap.js","modified":0,"renderable":1},{"_id":"themes/next/source/js/src/canvas-ribbon.js","path":"js/src/canvas-ribbon.js","modified":0,"renderable":1},{"_id":"themes/next/source/js/src/exturl.js","path":"js/src/exturl.js","modified":0,"renderable":1},{"_id":"themes/next/source/js/src/instantclick.min.js","path":"js/src/instantclick.min.js","modified":0,"renderable":1},{"_id":"themes/next/source/js/src/js.cookie.js","path":"js/src/js.cookie.js","modified":0,"renderable":1},{"_id":"themes/next/source/js/src/motion.js","path":"js/src/motion.js","modified":0,"renderable":1},{"_id":"themes/next/source/js/src/post-details.js","path":"js/src/post-details.js","modified":0,"renderable":1},{"_id":"themes/next/source/js/src/scroll-cookie.js","path":"js/src/scroll-cookie.js","modified":0,"renderable":1},{"_id":"themes/next/source/js/src/scrollspy.js","path":"js/src/scrollspy.js","modified":0,"renderable":1},{"_id":"themes/next/source/js/src/utils.js","path":"js/src/utils.js","modified":0,"renderable":1},{"_id":"themes/next/source/lib/velocity/velocity.min.js","path":"lib/velocity/velocity.min.js","modified":0,"renderable":1},{"_id":"themes/next/source/lib/velocity/velocity.ui.js","path":"lib/velocity/velocity.ui.js","modified":0,"renderable":1},{"_id":"themes/next/source/lib/velocity/velocity.ui.min.js","path":"lib/velocity/velocity.ui.min.js","modified":0,"renderable":1},{"_id":"themes/next/source/lib/jquery/index.js","path":"lib/jquery/index.js","modified":0,"renderable":1},{"_id":"themes/next/source/images/bg-back.jpg","path":"images/bg-back.jpg","modified":0,"renderable":1},{"_id":"themes/next/source/images/bg.jpg","path":"images/bg.jpg","modified":0,"renderable":1},{"_id":"themes/next/source/js/src/schemes/pisces.js","path":"js/src/schemes/pisces.js","modified":0,"renderable":1},{"_id":"themes/next/source/lib/velocity/velocity.js","path":"lib/velocity/velocity.js","modified":0,"renderable":1},{"_id":"themes/next/source/images/wallhaven-248751.png","path":"images/wallhaven-248751.png","modified":0,"renderable":1}],"Cache":[{"_id":"source/CNAME","hash":"da39a3ee5e6b4b0d3255bfef95601890afd80709","modified":1570343208990},{"_id":"source/leancloud.memo","hash":"b001b1346e1d8c51b340a9cabef871f0103f8db7","modified":1570343208995},{"_id":"themes/next/.all-contributorsrc","hash":"0ca0200bb5cba4cd157f2cb74703c4cb4c29cda5","modified":1570343209656},{"_id":"themes/next/.bowerrc","hash":"334da94ca6f024d60d012cc26ea655681e724ad8","modified":1570343209656},{"_id":"themes/next/.editorconfig","hash":"211d2c92bfdddb3e81ea946f4ca7a539f150f4da","modified":1570343209657},{"_id":"themes/next/.eslintrc.json","hash":"d3c11de434171d55d70daadd3914bc33544b74b8","modified":1570343209657},{"_id":"themes/next/.gitattributes","hash":"8454b9313cb1a97b63fb87e2d29daee497ce6249","modified":1570343209658},{"_id":"themes/next/.gitignore","hash":"0378adb9c2dc4855b3198184df4863cb30e4059c","modified":1570343209662},{"_id":"themes/next/.stylintrc","hash":"3b7f9785e9ad0dab764e1c535b40df02f4ff5fd6","modified":1570343209662},{"_id":"themes/next/.travis.yml","hash":"fb9ac54e875f6ea16d5c83db497f6bd70ae83198","modified":1570343209663},{"_id":"themes/next/LICENSE.md","hash":"f0190c7d83a98464549a6b3a51bb206148d88e1b","modified":1570343209663},{"_id":"themes/next/README.md","hash":"5cc097c71ba6e99aaf4b19955a4df3951879d8c9","modified":1570343209664},{"_id":"themes/next/_config.yml","hash":"8a69f490c5492dd6e155e12d102b12c8f7dd0817","modified":1570393407165},{"_id":"themes/next/bower.json","hash":"edbe7db4e39af86bb3163df5f0ab87cc0b420479","modified":1570343209665},{"_id":"themes/next/crowdin.yml","hash":"4a53f5985e545c635cb56b2a57ed290cb8cf8942","modified":1570343209666},{"_id":"themes/next/gulpfile.coffee","hash":"67eaf2515100971f6195b60eeebbfe5e8de895ab","modified":1570343209681},{"_id":"themes/next/package.json","hash":"0a6b9a8d9ccf52a5941ce4ec28d5b490adbd9970","modified":1570343209761},{"_id":"source/_posts/读 - 图解HTTP.md","hash":"ca205ebe00619b346cb87e4db44e508bb1ea00d0","modified":1570349572703},{"_id":"source/about/index.md","hash":"60bfe67984858a1611f3a6175be672eef9519634","modified":1570343208992},{"_id":"source/categories/index.md","hash":"b9b40473d0d3d673ddf12a77e935f4605d6909a0","modified":1570343208993},{"_id":"source/gallery/index.md","hash":"a879b3e65070df8aa7b190aecbed452167456f4a","modified":1570343208993},{"_id":"source/reading/index.md","hash":"b3fa94aa37791e8b54a3a8696e8770fab6998646","modified":1570356384014},{"_id":"source/tags/index.md","hash":"098fd857e1a8965bb7afa448922a2de012463e45","modified":1570343209001},{"_id":"source/uploads/avatar.jpg","hash":"3912c72e6d4ec1d6c7e8bf237f62ab44879ed13d","modified":1570343209398},{"_id":"themes/next/.github/CODE_OF_CONDUCT.md","hash":"22f2ccc5522563b67c8663849fc1d6cbae93a8ff","modified":1570343209658},{"_id":"themes/next/.github/CONTRIBUTING.md","hash":"40b0fd9fdb8586fab98e23f713940e7a2f80e2f9","modified":1570343209659},{"_id":"themes/next/.github/ISSUE_TEMPLATE.md","hash":"1e212fe229bd659726b4a3bcf4b5b14e0310ba3a","modified":1570343209660},{"_id":"themes/next/.github/PULL_REQUEST_TEMPLATE.md","hash":"36201119490a04107c8179b10202548a9d0e5e60","modified":1570343209660},{"_id":"themes/next/.github/browserstack_logo.png","hash":"a6c43887f64a7f48a2814e3714eaa1215e542037","modified":1570343209661},{"_id":"themes/next/.github/stale.yml","hash":"dbd5e6bf89b76ad1f2b081578b239c7ae32755af","modified":1570343209662},{"_id":"themes/next/docs/AGPL3.md","hash":"f463f95b169d64983f59fa6f3e4b6760290a0e6b","modified":1570343209666},{"_id":"themes/next/docs/ALGOLIA-SEARCH.md","hash":"1dada3c3404445a00367882b8f97cdf092b7943d","modified":1570343209667},{"_id":"themes/next/docs/AUTHORS.md","hash":"51a0a13da55ff3d596970b2f9ab4531c6b2211f2","modified":1570343209667},{"_id":"themes/next/docs/DATA-FILES.md","hash":"9a1895c0a0db705c4c48f512e86917f9af1ec3fb","modified":1570343209668},{"_id":"themes/next/docs/INSTALLATION.md","hash":"b74ef6fedf76cdb156e2265759ee0a789ddd49cc","modified":1570343209668},{"_id":"themes/next/docs/LEANCLOUD-COUNTER-SECURITY.md","hash":"f2fd611a84dd6f9ed5395b63e187e29e9effbcd3","modified":1570343209669},{"_id":"themes/next/docs/LICENSE","hash":"5b702310012d480b40529fd10cf1872f687277a0","modified":1570343209670},{"_id":"themes/next/docs/MATH.md","hash":"0540cd9c961b07931af9f38a83bc9a0f90cd5291","modified":1570343209671},{"_id":"themes/next/docs/UPDATE-FROM-5.1.X.md","hash":"c9f2ed8e15c137b1885d9ca8b7197d9f457971e9","modified":1570343209671},{"_id":"themes/next/languages/de.yml","hash":"641e49587d41bb87e4d5932dc3d975754ded7953","modified":1570343209683},{"_id":"themes/next/languages/default.yml","hash":"ea5e6aee4cb14510793ac4593a3bddffe23e530c","modified":1570343209683},{"_id":"themes/next/languages/en.yml","hash":"d66b8b48840443a4f9c72c7696a21e292f685a47","modified":1570343209684},{"_id":"themes/next/languages/fr.yml","hash":"ebcd1f188af8c3f5ef1f0923e794c839fbfae2d4","modified":1570343209684},{"_id":"themes/next/languages/id.yml","hash":"9709a4dbacc56a1571a96b139b872128d6959e90","modified":1570343209685},{"_id":"themes/next/languages/it.yml","hash":"4e3adeb10c0fa627935d69ae1783ce0894f5dee5","modified":1570343209685},{"_id":"themes/next/languages/ja.yml","hash":"82afb0a5637ad67065fa5b2624fa56c7c240c3c6","modified":1570343209686},{"_id":"themes/next/languages/ko.yml","hash":"33e065ceb21590b8eb32430a69e76c2f057eb758","modified":1570343209687},{"_id":"themes/next/languages/nl.yml","hash":"060efc260c1c529469d739d97dcee79683e8f411","modified":1570343209687},{"_id":"themes/next/languages/pt-BR.yml","hash":"dc09e290e908744ca28e093dbdd859ca2a20290e","modified":1570343209688},{"_id":"themes/next/languages/pt.yml","hash":"53e2a52b9d5dc20c04080acd4f5b954e8699780f","modified":1570343209688},{"_id":"themes/next/languages/ru.yml","hash":"720b92a9ec075b68737d296b1f29ad8e01151c85","modified":1570343209688},{"_id":"themes/next/languages/tr.yml","hash":"6d2f53d3687a7a46c67c78ab47908accd8812add","modified":1570343209689},{"_id":"themes/next/languages/vi.yml","hash":"e2b3b18359ab41d58c64b2002acfedd60a7505a4","modified":1570343209690},{"_id":"themes/next/languages/zh-CN.yml","hash":"09860c1073e8de8ef2aedf4ef5e9aeb2fe065ade","modified":1570343209690},{"_id":"themes/next/languages/zh-Hans.yml","hash":"3111ce4cc5f30868b3628f9f805d2aef3b75d1c1","modified":1570343209691},{"_id":"themes/next/languages/zh-hk.yml","hash":"c22113c4a6c748c18093dae56da5a9e8c5b963cd","modified":1570343209691},{"_id":"themes/next/languages/zh-tw.yml","hash":"dbf4dd87716babb2db4f5332fae9ec190a6f636a","modified":1570343209692},{"_id":"themes/next/layout/_layout.swig","hash":"3d636b486ccd6c6501dbeaaa0809ca372deb09be","modified":1570350240172},{"_id":"themes/next/layout/archive.swig","hash":"4b53070008775ecfd03953bd1b4adfcb0fabcaac","modified":1570343209758},{"_id":"themes/next/layout/category.swig","hash":"f0e3338bfa5efb205d2c28e635e9611f1fff3b55","modified":1570343209759},{"_id":"themes/next/layout/index.swig","hash":"bdcc9f57adef49706b16b107791cacecbc23c1dc","modified":1570343209759},{"_id":"themes/next/layout/page.swig","hash":"24e0807db66a346f9ce93fce824ca86f3bdbb42d","modified":1570343209759},{"_id":"themes/next/layout/post.swig","hash":"0554f42f90f4a524666c2b520be30b689c1d6a87","modified":1570343209760},{"_id":"themes/next/layout/schedule.swig","hash":"e79f43df0e9a6cf48bbf00882de48c5a58080247","modified":1570343209761},{"_id":"themes/next/layout/tag.swig","hash":"7cda2822e50b9fee9848a6b81e6c2d1aca830aeb","modified":1570343209761},{"_id":"themes/next/scripts/fold.js","hash":"c1ea24ac6e87e499e23b4dcf142fa1887b2035f2","modified":1570343209763},{"_id":"themes/next/scripts/merge-configs.js","hash":"5f96f63e86825fd7028c2522e4111103e261a758","modified":1570343209765},{"_id":"themes/next/scripts/merge.js","hash":"39b84b937b2a9608b94e5872349a47200e1800ff","modified":1570343209766},{"_id":"themes/next/scripts/tag.js","hash":"cf7a7c732efb119085e8bb1025b2d99f40490cb8","modified":1570343209767},{"_id":"themes/next/test/.jshintrc","hash":"c9fca43ae0d99718e45a6f5ce736a18ba5fc8fb6","modified":1570343209878},{"_id":"themes/next/test/helpers.js","hash":"f25e7f3265eb5a6e1ccbb5e5012fa9bebf134105","modified":1570343209879},{"_id":"themes/next/test/intern.js","hash":"db90b1063356727d72be0d77054fdc32fa882a66","modified":1570343209879},{"_id":"themes/next/source/fonts/.gitkeep","hash":"da39a3ee5e6b4b0d3255bfef95601890afd80709","modified":1570343209844},{"_id":"themes/next/docs/ru/INSTALLATION.md","hash":"7b2963daac19b0c14f98ebef375d5fbce8fc3f44","modified":1570343209673},{"_id":"themes/next/docs/ru/README.md","hash":"caaad965f9d54f82382c934f44a507d37a863fa3","modified":1570343209673},{"_id":"themes/next/docs/ru/DATA-FILES.md","hash":"a51de08657f5946f4028b11373280ddc04639525","modified":1570343209672},{"_id":"themes/next/docs/ru/UPDATE-FROM-5.1.X.md","hash":"1a4e41adcf5831057f3f7b3025ed4a5ef7c442b4","modified":1570343209674},{"_id":"themes/next/docs/zh-CN/ALGOLIA-SEARCH.md","hash":"e771c5b745608c6fb5ae2fa1c06c61b3699627ec","modified":1570343209675},{"_id":"themes/next/docs/zh-CN/CODE_OF_CONDUCT.md","hash":"9b512cb820627fcc45c9f77c7a122aa99e021bd5","modified":1570343209676},{"_id":"themes/next/docs/zh-CN/CONTRIBUTING.md","hash":"6ea741f380dc3e90661d12db7e115a94b77643a4","modified":1570343209676},{"_id":"themes/next/docs/zh-CN/INSTALLATION.md","hash":"baca12cc24be082f1db28c7f283493569666321c","modified":1570343209677},{"_id":"themes/next/docs/zh-CN/LEANCLOUD-COUNTER-SECURITY.md","hash":"7214fcd1b5830e62b3ac0836ad2d1b0fa391ae12","modified":1570343209678},{"_id":"themes/next/docs/zh-CN/DATA-FILES.md","hash":"67f4a987e7db0ab1ce1ea4c311f2961df07b6681","modified":1570343209677},{"_id":"themes/next/docs/zh-CN/MATH.md","hash":"69d73e86d8f7d2deafc436df84713a1425704d8a","modified":1570343209679},{"_id":"themes/next/docs/zh-CN/README.md","hash":"0e6652be1b6bca87479f2601ff89105def200b4c","modified":1570343209680},{"_id":"themes/next/docs/zh-CN/UPDATE-FROM-5.1.X.md","hash":"2095d1214a4e519a1d31b67b41c89080fa3285d3","modified":1570343209681},{"_id":"themes/next/layout/_custom/head.swig","hash":"a223919d2e1bf17ca4d6abb2c86f2efca9883dc1","modified":1570343209693},{"_id":"themes/next/layout/_custom/header.swig","hash":"ba8ab5a0280b953aa97435ff8946cbcbb2755a27","modified":1570343209693},{"_id":"themes/next/layout/_custom/sidebar.swig","hash":"ba8ab5a0280b953aa97435ff8946cbcbb2755a27","modified":1570343209694},{"_id":"themes/next/layout/_macro/my-copyright.swig","hash":"e65edd83b37a4942857e9701f20ee03812e45a15","modified":1570343209696},{"_id":"themes/next/layout/_macro/passage-end-tag.swig","hash":"0bd1e2cebdf9c0e1152868f16ec024cc933a8f9f","modified":1570343209697},{"_id":"themes/next/layout/_macro/post-collapse.swig","hash":"32b1f74e6a144133ce3a60cd06dbef50d8286919","modified":1570343209697},{"_id":"themes/next/layout/_macro/post-copyright.swig","hash":"0f59a51b5cea3e8a7c078db486626cddc2978622","modified":1570343209699},{"_id":"themes/next/layout/_macro/post-related.swig","hash":"e8dfb86eb62b9c2bc1435d6d1afa95d3b4c7b931","modified":1570343209699},{"_id":"themes/next/layout/_macro/post.swig","hash":"c232c1bc07b0e9d5fe49bb0c76037d9a988c56cc","modified":1570343209700},{"_id":"themes/next/layout/_macro/reward.swig","hash":"b6e7d0af24b4d52d168a4eb0fb29bffa69621395","modified":1570343209701},{"_id":"themes/next/layout/_macro/sidebar.swig","hash":"e86f73fc827faa2d13b5c67be894054977318b38","modified":1570343209702},{"_id":"themes/next/layout/_macro/wechat-subscriber.swig","hash":"7a9b687087793bf5e218cbc345214f927fa5601a","modified":1570343209703},{"_id":"themes/next/layout/_partials/breadcrumb.swig","hash":"4b48fdbfe3bf41ddeda4ff74c1ff17ab9f15c14e","modified":1570343209704},{"_id":"themes/next/layout/_partials/comments.swig","hash":"f1e25d53d76f898d280d0422d037e646d11f342b","modified":1570343209704},{"_id":"themes/next/layout/_partials/footer.swig","hash":"855448f225af8c05c317fd78c155d9fc978a11e6","modified":1570343209705},{"_id":"themes/next/layout/_partials/page-header.swig","hash":"206cbd6ac9ca6a219a8516f59beae25b3c770199","modified":1570343209719},{"_id":"themes/next/layout/_partials/pagination.swig","hash":"914155d5d758306cff405beefd4a07973fd8fc77","modified":1570343209720},{"_id":"themes/next/layout/_partials/post-copyright.swig","hash":"55de88525c05af6053524c78ef4b42b46c3bfb6d","modified":1570343209720},{"_id":"themes/next/layout/_scripts/boostrap.swig","hash":"27fb1d81151b9b79683e488579df19eee7e654d6","modified":1570343209728},{"_id":"themes/next/layout/_scripts/commons.swig","hash":"f544e21883d249d5a341c684c97bd25831008f07","modified":1570343209728},{"_id":"themes/next/layout/_scripts/noscript.swig","hash":"f8c7e729ad6e72b4c705a2c5d5041589c2b4cc52","modified":1570343209729},{"_id":"themes/next/layout/_scripts/vendors.swig","hash":"92ffb13ef1f6075f77f41b43ca04aaa0e9e65c10","modified":1570343209734},{"_id":"themes/next/layout/_third-party/bookmark.swig","hash":"ed62ea83d3f2c9db2ea57bf23a7d765ed82504c2","modified":1570343209743},{"_id":"themes/next/layout/_third-party/copy-code.swig","hash":"c62c37474c8de78cf34e54c6219b503ec28d9815","modified":1570343209747},{"_id":"themes/next/layout/_third-party/exturl.swig","hash":"53861f78a1fb52e96a43cf6909e1530dcf6cbff8","modified":1570343209748},{"_id":"themes/next/layout/_third-party/github-banner.swig","hash":"20704846a29d72b24f6e446a6c22b10cf50a624b","modified":1570343209748},{"_id":"themes/next/layout/_third-party/needsharebutton.swig","hash":"debba9b7110f635204a15df148194d4c2fd2668b","modified":1570343209751},{"_id":"themes/next/layout/_third-party/pangu.swig","hash":"ccf0035086e14dcefa24c2907301edf4c37d5448","modified":1570343209752},{"_id":"themes/next/layout/_third-party/pdf.swig","hash":"3bdd2ec6c75a2c3f62c55e7e43162c4802722edb","modified":1570343209752},{"_id":"themes/next/layout/_third-party/rating.swig","hash":"554ec568e9d2c71e4a624a8de3cb5929050811d6","modified":1570343209753},{"_id":"themes/next/layout/_third-party/schedule.swig","hash":"db15d7e1552aa2d2386a6b8a33b3b3a40bf9e43d","modified":1570343209753},{"_id":"themes/next/layout/_third-party/scroll-cookie.swig","hash":"a174d4a0c9188f9c4a2652f49bfa7a60ad0a83e3","modified":1570343209753},{"_id":"themes/next/scripts/helpers/engine.js","hash":"cdb6152582313268d970ffeef99b4a8a7850f034","modified":1570343209764},{"_id":"themes/next/scripts/helpers/next-url.js","hash":"3db90c52bc8af57c6fa4a9dbdc524e1ecdc8b7b1","modified":1570343209765},{"_id":"themes/next/scripts/tags/button.js","hash":"510f3711a9c9d3e2a844250647d90e8359e7d130","modified":1570343209767},{"_id":"themes/next/scripts/tags/center-quote.js","hash":"4519ab8e6898f2ee90d05cde060375462b937a7d","modified":1570343209768},{"_id":"themes/next/scripts/tags/exturl.js","hash":"e9dab948e6327b22b4fc0c66cf97f6600a444dd5","modified":1570343209769},{"_id":"themes/next/scripts/tags/full-image.js","hash":"ef2c2985a3edb9f69740740c5bc42d4b692c86fd","modified":1570343209769},{"_id":"themes/next/scripts/tags/include-raw.js","hash":"ab4a82a7246265717556c7a42f897430340b88cf","modified":1570343209772},{"_id":"themes/next/scripts/tags/group-pictures.js","hash":"aface11629970a5c4ee38aaa15550d2caee59560","modified":1570343209770},{"_id":"themes/next/scripts/tags/label.js","hash":"bb502616bfabe85de5de903074ec6afe627f8413","modified":1570343209772},{"_id":"themes/next/scripts/tags/note.js","hash":"bd3310a5890bded1bda9ba3ad6f98ee44ecb101a","modified":1570343209772},{"_id":"themes/next/scripts/tags/tabs.js","hash":"2d257e26718d4011509fd6f530d2ea37e50e3e66","modified":1570343209773},{"_id":"themes/next/source/css/main.styl","hash":"2a62e2a11e9cdcc69e538d856d6f9ce228a07c93","modified":1570343209843},{"_id":"themes/next/source/images/1.svg","hash":"169f56fd82941591dad3abd734a50ec7259be950","modified":1570343209845},{"_id":"themes/next/source/images/algolia_logo.svg","hash":"45eeea0b5fba833e21e38ea10ed5ab385ceb4f01","modified":1570343209846},{"_id":"themes/next/source/images/apple-touch-icon-next.png","hash":"74f61cee1b8149f83ea3a0533c1ae285f89884fa","modified":1570343209846},{"_id":"themes/next/source/images/avatar.gif","hash":"264082bb3a1af70d5499c7d22b0902cb454b6d12","modified":1570343209847},{"_id":"themes/next/source/images/cc-by-nc-nd.svg","hash":"bc3588c9b2d7c68830524783120ff6cf957cf668","modified":1570343209852},{"_id":"themes/next/source/images/cc-by-nc-sa.svg","hash":"6f55543d1fb9cbc436c101d24f802dec7b41efc3","modified":1570343209853},{"_id":"themes/next/source/images/cc-by-nc.svg","hash":"6f076713fb9bf934aa2c1046bdf2cf2e37bc1eab","modified":1570343209853},{"_id":"themes/next/source/images/cc-by-nd.svg","hash":"42cd73da328077ccc92f859bb8f3cf621b3484f8","modified":1570343209854},{"_id":"themes/next/source/images/cc-by-sa.svg","hash":"70c1535f43e54e5ff35ca81419e77e4c0c301398","modified":1570343209855},{"_id":"themes/next/source/images/cc-by.svg","hash":"e92a33c32d1dac8ed94849b2b4e6456e887efe70","modified":1570343209855},{"_id":"themes/next/source/images/cc-zero.svg","hash":"9bfb52b2f63527a7049247bf00d44e6dc1170e7d","modified":1570343209856},{"_id":"themes/next/source/images/favicon-16x16-next.png","hash":"74f61cee1b8149f83ea3a0533c1ae285f89884fa","modified":1570343209856},{"_id":"themes/next/source/images/favicon-32x32-next.png","hash":"74f61cee1b8149f83ea3a0533c1ae285f89884fa","modified":1570343209857},{"_id":"themes/next/source/images/favicon.ico","hash":"a9f9a115f6d5af138ace628cde4769165a45ef03","modified":1570111827566},{"_id":"themes/next/source/images/loading.gif","hash":"5fbd472222feb8a22cf5b8aa5dc5b8e13af88e2b","modified":1570343209858},{"_id":"themes/next/source/images/placeholder.gif","hash":"5fbd472222feb8a22cf5b8aa5dc5b8e13af88e2b","modified":1570343209859},{"_id":"themes/next/source/images/quote-l.svg","hash":"cd108d6f44351cadf8e6742565217f88818a0458","modified":1570343209859},{"_id":"themes/next/source/images/quote-r.svg","hash":"2a2a250b32a87c69dcc1b1976c74b747bedbfb41","modified":1570343209860},{"_id":"themes/next/source/images/searchicon.png","hash":"67727a6a969be0b2659b908518fa6706eed307b8","modified":1570343209860},{"_id":"themes/next/layout/_scripts/schemes/mist.swig","hash":"da39a3ee5e6b4b0d3255bfef95601890afd80709","modified":1570343209732},{"_id":"themes/next/layout/_scripts/schemes/muse.swig","hash":"da39a3ee5e6b4b0d3255bfef95601890afd80709","modified":1570343209732},{"_id":"themes/next/source/css/_mixins/Mist.styl","hash":"da39a3ee5e6b4b0d3255bfef95601890afd80709","modified":1570343209821},{"_id":"themes/next/source/css/_mixins/Muse.styl","hash":"da39a3ee5e6b4b0d3255bfef95601890afd80709","modified":1570343209822},{"_id":"themes/next/source/css/_mixins/custom.styl","hash":"da39a3ee5e6b4b0d3255bfef95601890afd80709","modified":1570343209823},{"_id":"themes/next/source/css/_variables/Muse.styl","hash":"da39a3ee5e6b4b0d3255bfef95601890afd80709","modified":1570343209840},{"_id":"themes/next/source/css/_variables/custom.styl","hash":"da39a3ee5e6b4b0d3255bfef95601890afd80709","modified":1570343209842},{"_id":"themes/next/layout/_macro/menu/menu-badge.swig","hash":"4eb8e222dc337211efb0d3bbdb5e29af3e6ecdb8","modified":1570343209695},{"_id":"themes/next/layout/_macro/menu/menu-item.swig","hash":"ef791a725ee7292a5207a629dbcae16022a6d068","modified":1570343209696},{"_id":"themes/next/layout/_partials/head/external-fonts.swig","hash":"f5e487b0d213ca0bd94aa30bc23b240d65081627","modified":1570343209707},{"_id":"themes/next/layout/_partials/head/head-unique.swig","hash":"0b8349710caf9691741a457aa746add35245048e","modified":1570343209709},{"_id":"themes/next/layout/_partials/head/head.swig","hash":"2b1ebc9863d1172f2b8b2e47f5a16aec1f77acf2","modified":1570343209710},{"_id":"themes/next/layout/_partials/header/brand.swig","hash":"19050627bc23b0b2c2e65e7248c0f88468eb8ea5","modified":1570343209713},{"_id":"themes/next/layout/_partials/header/index.swig","hash":"c909f6e96373c151dea325bcddfdd8c9522421b6","modified":1570343209714},{"_id":"themes/next/layout/_partials/header/menu.swig","hash":"f3ae3168801304af3d80ec3b84264e1d4201cb89","modified":1570343209716},{"_id":"themes/next/layout/_partials/header/sub-menu.swig","hash":"3f11ae8e9084f39628cd2006931d39a2069b9dd6","modified":1570343209718},{"_id":"themes/next/layout/_partials/search/index.swig","hash":"f6454c452b2e90a8c760321bce7e3dc6119b71fa","modified":1570343209722},{"_id":"themes/next/layout/_partials/search/localsearch.swig","hash":"b2f0d247b213e4cf8de47af6a304d98070cc7256","modified":1570343209723},{"_id":"themes/next/layout/_partials/search/swiftype.swig","hash":"a8c7f9ca7c605d039a1f3bf4e4d3183700a3dd62","modified":1570343209723},{"_id":"themes/next/layout/_partials/search/tinysou.swig","hash":"b25002a83cbd2ca0c4a5df87ad5bff26477c0457","modified":1570343209724},{"_id":"themes/next/layout/_partials/share/add-this.swig","hash":"9e3d133ac5bcc6cb51702c83b2611a49811abad1","modified":1570343209725},{"_id":"themes/next/layout/_partials/share/baidushare.swig","hash":"d9e2d9282f9be6e04eae105964abb81e512bffed","modified":1570343209726},{"_id":"themes/next/layout/_partials/share/duoshuo_share.swig","hash":"d4fbffd7fa8f2090eb32a871872665d90a885fac","modified":1570343209726},{"_id":"themes/next/layout/_scripts/pages/post-details.swig","hash":"580e9d9c4d8783ee6200d845ae16c98979bf1ea3","modified":1570343209730},{"_id":"themes/next/layout/_scripts/schemes/gemini.swig","hash":"c381f638315a007b1baf5fea879161001fe50cd0","modified":1570343209731},{"_id":"themes/next/layout/_scripts/schemes/pisces.swig","hash":"c381f638315a007b1baf5fea879161001fe50cd0","modified":1570343209733},{"_id":"themes/next/layout/_third-party/analytics/analytics-with-widget.swig","hash":"ff947f3561b229bc528cb1837d4ca19612219411","modified":1570343209736},{"_id":"themes/next/layout/_third-party/analytics/application-insights.swig","hash":"71397a5823e8ec8aad3b68aace13150623b3e19d","modified":1570343209736},{"_id":"themes/next/layout/_third-party/analytics/baidu-analytics.swig","hash":"753d262911c27baf663fcaf199267133528656af","modified":1570343209737},{"_id":"themes/next/layout/_third-party/analytics/busuanzi-counter.swig","hash":"1ce5fa218a44cf6e620583e9013e0b674dd6a989","modified":1570343209737},{"_id":"themes/next/layout/_third-party/analytics/cnzz-analytics.swig","hash":"a10b7f19d7b5725527514622899df413a34a89db","modified":1570343209738},{"_id":"themes/next/layout/_third-party/analytics/facebook-sdk.swig","hash":"7d94845f96197d9d84a405fa5d4ede75fb81b225","modified":1570343209738},{"_id":"themes/next/layout/_third-party/analytics/firestore.swig","hash":"8ab040fccba41675bc835973515530af8a51f8bd","modified":1570343209739},{"_id":"themes/next/layout/_third-party/analytics/google-analytics.swig","hash":"cfc932c5db04fef64cc56d3ba0b8ddf3a15a63bd","modified":1570343209739},{"_id":"themes/next/layout/_third-party/analytics/growingio.swig","hash":"d461dfe853e5317f62e8551f9d8338c66a9935e7","modified":1570343209740},{"_id":"themes/next/layout/_third-party/analytics/index.swig","hash":"39928f358dd13d9fc1a4641800e57be157ecd815","modified":1570343209740},{"_id":"themes/next/layout/_third-party/analytics/lean-analytics.swig","hash":"bd8382d4f12df207ed52f75f6e5fb06527970167","modified":1570343209741},{"_id":"themes/next/layout/_third-party/analytics/tencent-analytics.swig","hash":"8a399df90dadba5ad4e781445b58f4765aeb701e","modified":1570343209741},{"_id":"themes/next/layout/_third-party/analytics/tencent-mta.swig","hash":"5a8027328f060f965b3014060bebec1d7cf149c1","modified":1570343209742},{"_id":"themes/next/layout/_third-party/analytics/vkontakte-api.swig","hash":"f9a1647a8f1866deeb94052d1f87a5df99cb1e70","modified":1570343209742},{"_id":"themes/next/layout/_third-party/comments/changyan.swig","hash":"4c501ea0b9c494181eb3c607c5526a5754e7fbd8","modified":1570343209743},{"_id":"themes/next/layout/_third-party/comments/disqus.swig","hash":"2440f1e66cb8e39cc2bacfd783fb6fe904a628e9","modified":1570343209744},{"_id":"themes/next/layout/_third-party/comments/gitalk.swig","hash":"080a3a30c65e9e97782b8c56a866ba4204247cc8","modified":1570343209744},{"_id":"themes/next/layout/_third-party/comments/gitment.swig","hash":"292cdd1059b76d3d10486b71c99d9afb3e59ea44","modified":1570343209745},{"_id":"themes/next/layout/_third-party/comments/index.swig","hash":"b98e8acb635beeaa929dab41c8cc5e519b9609b0","modified":1570343209745},{"_id":"themes/next/layout/_third-party/comments/livere.swig","hash":"c49a3b10b2f2f64a7ac41fa3d436fd2c8d31cca8","modified":1570343209746},{"_id":"themes/next/layout/_third-party/comments/valine.swig","hash":"d05e70a416963023ee1978e4168d58bcfd956ed3","modified":1570343209747},{"_id":"themes/next/layout/_third-party/math/index.swig","hash":"30e9e55d9af2ced6e6b156a042026a8b480f0ab0","modified":1570343209750},{"_id":"themes/next/layout/_third-party/math/katex.swig","hash":"860de4ce6fccc516d2f779a4b600a4214d8c18e2","modified":1570343209750},{"_id":"themes/next/layout/_third-party/math/mathjax.swig","hash":"6fec78f40913a284b38ffe48fc8c78e23efa8e27","modified":1570343209751},{"_id":"themes/next/layout/_third-party/search/index.swig","hash":"34599633658f3b0ffb487728b7766e1c7b551f5a","modified":1570343209756},{"_id":"themes/next/layout/_third-party/search/localsearch.swig","hash":"71c897f9b107dd0de1b7f649633cf583c206a9db","modified":1570343209756},{"_id":"themes/next/layout/_third-party/search/tinysou.swig","hash":"fe95dd3d166634c466e19aa756e65ad6e8254d3e","modified":1570343209757},{"_id":"themes/next/layout/_third-party/seo/baidu-push.swig","hash":"d8c98938719284fa06492c114d99a1904652a555","modified":1570343209757},{"_id":"themes/next/scripts/filters/after_post_render/exturl.js","hash":"899b5a5e80e2bf441b7c40f24123f26a5097b8de","modified":1570343209763},{"_id":"themes/next/source/css/_custom/custom.styl","hash":"0ecc3b2298d0402de518fdc82bffcb27caccd98d","modified":1570343209820},{"_id":"themes/next/source/css/_mixins/Gemini.styl","hash":"07f7da320689f828f6e36a6123807964a45157a0","modified":1570343209820},{"_id":"themes/next/source/css/_mixins/Pisces.styl","hash":"8aa98ae349908736ba43196c42498fd5bdeb780a","modified":1570343209822},{"_id":"themes/next/source/css/_mixins/base.styl","hash":"d1deb849e697cfb6258b8ab7bfb47e219210ccd9","modified":1570343209823},{"_id":"themes/next/source/css/_variables/Gemini.styl","hash":"8d6cf29f63c90364f4d3c336f7c9bb794b4c46cc","modified":1570343209840},{"_id":"themes/next/source/css/_variables/Mist.styl","hash":"a25408534f8fe6e321db4bbf9dd03335d648fe17","modified":1570343209840},{"_id":"themes/next/source/css/_variables/Pisces.styl","hash":"72927abd51d3a607a6ba32cf882390792b34e834","modified":1570343209841},{"_id":"themes/next/source/css/_variables/base.styl","hash":"8d04a5eb19a2735e1987aca1051fae72b19036ab","modified":1570343209842},{"_id":"themes/next/source/js/src/affix.js","hash":"ad343aa406fd8181b5f310434817ce98fc2219e3","modified":1570343209864},{"_id":"themes/next/source/js/src/algolia-search.js","hash":"84906eeae57bd06744dd20160b93eacf658f97e2","modified":1570343209865},{"_id":"themes/next/source/js/src/bootstrap.js","hash":"c7e2a588b679d46379124141bb2f30bc2f3210e2","modified":1570343209865},{"_id":"themes/next/source/js/src/canvas-ribbon.js","hash":"65b1a8f12d04b15d7ed6eeb9d11dec760a799c5f","modified":1565318494000},{"_id":"themes/next/source/js/src/exturl.js","hash":"c48aa4b3c0e578a807fd3661e6cd4f3890777437","modified":1570343209865},{"_id":"themes/next/source/js/src/instantclick.min.js","hash":"bfd0f345b6a7a80938ad9a1f6c43a6c787dcad61","modified":1570343209866},{"_id":"themes/next/source/js/src/js.cookie.js","hash":"1512c751d219577d338ac0780fb2bbd9075d5298","modified":1570343209867},{"_id":"themes/next/source/js/src/motion.js","hash":"4c7f94e499743f4cc958f6cd1260a93d765d3051","modified":1570343209868},{"_id":"themes/next/source/js/src/post-details.js","hash":"1f63a7e21eee0dd6514b8751b9dec3ae6dd1c608","modified":1570343209868},{"_id":"themes/next/source/js/src/scroll-cookie.js","hash":"c4867626afab749404daf321367f9b6b8e223f69","modified":1570343209870},{"_id":"themes/next/source/js/src/scrollspy.js","hash":"68d3690152c89e7adb08bb35ec28dbda2bd93686","modified":1570343209870},{"_id":"themes/next/source/js/src/utils.js","hash":"406145e8eda9f0cec4f7a09b7c1f9247aa24e46e","modified":1570343209871},{"_id":"themes/next/source/lib/velocity/velocity.min.js","hash":"bf172816a9c57f9040e3d19c24e181a142daf92b","modified":1570343209876},{"_id":"themes/next/source/lib/velocity/velocity.ui.js","hash":"dbbfb50f6502f6b81dcc9fee7b31f1e812da3464","modified":1570343209876},{"_id":"themes/next/source/lib/velocity/velocity.ui.min.js","hash":"dde584994ac13dc601836e86f4cf490e418d9723","modified":1570343209877},{"_id":"themes/next/source/lib/jquery/index.js","hash":"17a740d68a1c330876c198b6a4d9319f379f3af2","modified":1570343209872},{"_id":"themes/next/layout/_third-party/search/algolia-search/assets.swig","hash":"6e076b5e183eedf425a445e99851f938789c3194","modified":1570343209755},{"_id":"themes/next/layout/_third-party/search/algolia-search/dom.swig","hash":"2530de0f3125a912756f6c0e9090cd012134a4c5","modified":1570343209755},{"_id":"themes/next/source/css/_common/components/back-to-top-sidebar.styl","hash":"1fd0650a8e5bff2c7146c810b04b3b88ee1f670e","modified":1570343209775},{"_id":"themes/next/source/css/_common/components/back-to-top.styl","hash":"237d185ac62ec9877e300947fa0109c44fb8db19","modified":1570343209775},{"_id":"themes/next/source/css/_common/components/buttons.styl","hash":"8b32928686c327151e13d3ab100157f9a03cd59f","modified":1570343209776},{"_id":"themes/next/source/css/_common/components/comments.styl","hash":"ff4489cd582f518bba6909a301ac1292a38b4e96","modified":1570343209776},{"_id":"themes/next/source/css/_common/components/components.styl","hash":"7ad4081466b397e2a6204141bb7768b7c01bd93c","modified":1570343209777},{"_id":"themes/next/source/css/_common/components/pagination.styl","hash":"4f2801fc4cf3f31bf2069f41db8c6ce0e3da9e39","modified":1570343209789},{"_id":"themes/next/source/css/_common/components/tag-cloud.styl","hash":"6eb4bcc3056bd279d000607e8b4dad50d368ca69","modified":1570343209804},{"_id":"themes/next/source/css/_common/outline/outline.styl","hash":"fbb6be577529c750ef7c872fe7abdc7ab0faf0f8","modified":1570343209816},{"_id":"themes/next/source/css/_common/scaffolding/base.styl","hash":"df72d012a51e0c705aa14c68cffd689a312f7250","modified":1570343209816},{"_id":"themes/next/source/css/_common/scaffolding/helpers.styl","hash":"1da5c800d025345f212a3bf1be035060f4e5e6ed","modified":1570343209817},{"_id":"themes/next/source/css/_common/scaffolding/mobile.styl","hash":"ab775f23ad475efb25376b5aad752ae8b56cfd8c","modified":1570343209818},{"_id":"themes/next/source/css/_common/scaffolding/normalize.styl","hash":"3f40e8a9fe8e7bd5cfc4cf4cbbbcb9539462e973","modified":1570343209818},{"_id":"themes/next/source/css/_common/scaffolding/scaffolding.styl","hash":"a17e2b871a335f290afb392a08f94fd35f59c715","modified":1570343209818},{"_id":"themes/next/source/css/_common/scaffolding/tables.styl","hash":"60179df0e5c9f7c2e9fda046040536c5d8b02f65","modified":1570343209819},{"_id":"themes/next/source/css/_schemes/Gemini/index.styl","hash":"8e67eea73e9346f51ef26ecb35f67a1f5f672dcd","modified":1570343209824},{"_id":"themes/next/source/css/_schemes/Mist/_base.styl","hash":"d0e9065b0dbbc01811259f0597d1790268b4881b","modified":1570343209825},{"_id":"themes/next/source/css/_schemes/Mist/_header.styl","hash":"d0bfd1bef988c76f7d7dd72d88af6f0908a8b0db","modified":1570343209826},{"_id":"themes/next/source/css/_schemes/Mist/_logo.styl","hash":"b1025c421406d2c24cc92a02ae28c1915b01e240","modified":1570343209826},{"_id":"themes/next/source/css/_schemes/Mist/_menu.styl","hash":"a80782a6eb3b40da2e14251da49069aff3115d8a","modified":1570343209827},{"_id":"themes/next/source/css/_schemes/Mist/_posts-expanded.styl","hash":"fa6c00fdaf8f0ca3b690a5a556671745fb67e2c9","modified":1570343209827},{"_id":"themes/next/source/css/_schemes/Mist/_search.styl","hash":"09c965022c13b84ed8a661fee8ac2a6d550495ae","modified":1570343209828},{"_id":"themes/next/source/css/_schemes/Mist/index.styl","hash":"2ccb9bdc309b7c1ef183a3dbb0a4621bec54a328","modified":1570343209828},{"_id":"themes/next/source/css/_schemes/Muse/_layout.styl","hash":"31127dcbf4c7b4ada53ffbf1638b5fe325b7cbc0","modified":1570343209831},{"_id":"themes/next/source/css/_schemes/Muse/_logo.styl","hash":"748dbfbf9c08e719ddc775958003c64b00d39dab","modified":1570343209831},{"_id":"themes/next/source/css/_schemes/Muse/_menu.styl","hash":"4ed12bf17eeb7cd4f22dd01fdd486cda68d169a8","modified":1570343209832},{"_id":"themes/next/source/css/_schemes/Muse/_search.styl","hash":"09c965022c13b84ed8a661fee8ac2a6d550495ae","modified":1570343209832},{"_id":"themes/next/source/css/_schemes/Muse/index.styl","hash":"b26f8a3394d8357a5bfd24d9f8bf62d7b4063ebb","modified":1570343209833},{"_id":"themes/next/source/css/_schemes/Pisces/_brand.styl","hash":"bce344d3a665b4c55230d2a91eac2ad16d6f32fd","modified":1570343209835},{"_id":"themes/next/source/css/_schemes/Pisces/_layout.styl","hash":"ccf5a4761cb0ce451b5e994cfabf8769248a45c1","modified":1570343209836},{"_id":"themes/next/source/css/_schemes/Pisces/_menu.styl","hash":"11fcaaf7524445a194801e1048ea2fb84b316414","modified":1570343209836},{"_id":"themes/next/source/css/_schemes/Pisces/_posts.styl","hash":"1f6e2ce674735269599acc6d77b3ea18d31967fc","modified":1570343209837},{"_id":"themes/next/source/css/_schemes/Pisces/_sidebar.styl","hash":"9f125e2b46ac4542c600fa514b66daf2f58f4c07","modified":1570343209838},{"_id":"themes/next/source/css/_schemes/Pisces/_sub-menu.styl","hash":"be72740313a9a0477b8a22f62e4c8ffa6d23a2e5","modified":1570343209838},{"_id":"themes/next/source/css/_schemes/Pisces/index.styl","hash":"a558803ca81cceae2bdc22c18ef638fcc023681b","modified":1570343209839},{"_id":"themes/next/source/images/bg-back.jpg","hash":"f1333ec5d594f87e1539405dfa9e3cb62cfb0d7f","modified":1570343209849},{"_id":"themes/next/source/images/bg.jpg","hash":"47e10b1298dab18e2e2f0f8c80960bfa512ee90a","modified":1570343209852},{"_id":"themes/next/source/js/src/schemes/pisces.js","hash":"e185d1bb2f5805db2bddaf9b0ed1e689f95bcd13","modified":1570343209869},{"_id":"themes/next/source/css/_common/components/footer/footer.styl","hash":"7dd247c8869fdefb5a007045d00f3ef8ceecf300","modified":1570343209778},{"_id":"themes/next/source/css/_common/components/header/github-banner.styl","hash":"3f3d2a43d1a326bad25b633c8ec9ddd87867224c","modified":1570343209779},{"_id":"themes/next/source/css/_common/components/header/headerband.styl","hash":"d63e0cacc53dd375fcc113465a4328c59ff5f2c1","modified":1570343209779},{"_id":"themes/next/source/css/_common/components/header/menu.styl","hash":"1ec3102ee8f5b8cc0877da1fd109d37470401e7b","modified":1570343209780},{"_id":"themes/next/source/css/_common/components/header/site-meta.styl","hash":"0656e753f182c9f47fef7304c847b7587a85ef0d","modified":1570343209782},{"_id":"themes/next/source/css/_common/components/header/site-nav.styl","hash":"1727702eac5d326b5c81a667944a245016668231","modified":1570343209783},{"_id":"themes/next/source/css/_common/components/highlight/diff.styl","hash":"167986d0f649516671ddf7193eebba7b421cd115","modified":1570343209783},{"_id":"themes/next/source/css/_common/components/highlight/highlight.styl","hash":"4e21987c1404ebb01cba5c707c5d609df1e49b29","modified":1570343209784},{"_id":"themes/next/source/css/_common/components/highlight/theme.styl","hash":"7fe4d4d656e86276c17cb4e48a560cb6a4def703","modified":1570343209785},{"_id":"themes/next/source/css/_common/components/pages/archive.styl","hash":"cdd55b143453b0ca8bfabc9843abe9b4f85fb516","modified":1570343209785},{"_id":"themes/next/source/css/_common/components/pages/breadcrumb.styl","hash":"630be616447a982413030e561bbd3a80ac14b120","modified":1570343209787},{"_id":"themes/next/source/css/_common/components/pages/categories.styl","hash":"7fb593f90d74a99c21840679933b9ef6fdc16a61","modified":1570343209787},{"_id":"themes/next/source/css/_common/components/pages/pages.styl","hash":"ad4cae23c8e383f4fabc9a2a95bca6055020d22e","modified":1570343209788},{"_id":"themes/next/source/css/_common/components/header/header.styl","hash":"34f5ac3c1ed2dd31e9297cc4c0733e71bc2e252f","modified":1570343209779},{"_id":"themes/next/source/css/_common/components/pages/post-detail.styl","hash":"4e3838d7ac81d9ad133960f0f7ed58a44a015285","modified":1570343209788},{"_id":"themes/next/source/css/_common/components/pages/schedule.styl","hash":"ef588bc56eaa5b84296e28f4c2c36d9ea8b3b8c3","modified":1570343209789},{"_id":"themes/next/source/css/_common/components/post/my-post-copyright.styl","hash":"e954bf95842945b196bbb0de7b8098950a780129","modified":1570343209790},{"_id":"themes/next/source/css/_common/components/post/post-button.styl","hash":"62fbbd32cf5a99ae550c45c763a2c4813a138d01","modified":1570343209791},{"_id":"themes/next/source/css/_common/components/post/post-collapse.styl","hash":"3241c9ae85ca11b6c4e125ac471aa4342ba1ce9c","modified":1570343209791},{"_id":"themes/next/source/css/_common/components/post/post-copyright.styl","hash":"fc94dd09b4245143b452d6cf2fc4c12134d99d6d","modified":1570343209792},{"_id":"themes/next/source/css/_common/components/post/post-eof.styl","hash":"a200c0a1c5a895ac9dc41e0641a5dfcd766be99b","modified":1570343209792},{"_id":"themes/next/source/css/_common/components/post/post-expand.styl","hash":"317c9ceda655e9dc373ce8e7b71d20b794fce9a4","modified":1570343209793},{"_id":"themes/next/source/css/_common/components/post/post-gallery.styl","hash":"cd9e214e502697f2f2db84eb721bac57a49b0fce","modified":1570343209793},{"_id":"themes/next/source/css/_common/components/post/post-meta.styl","hash":"330c8884efb5612e7eb03986d87d29e8b0651974","modified":1570343209794},{"_id":"themes/next/source/css/_common/components/post/post-nav.styl","hash":"27deb3d3a243d30022055dac7dad851024099a8b","modified":1570343209794},{"_id":"themes/next/source/css/_common/components/post/post-reading_progress.styl","hash":"82bc7fa5d38d98e98cc25f9a73189024fda25e63","modified":1570343209795},{"_id":"themes/next/source/css/_common/components/post/post-reward.styl","hash":"ff50a32ae6fea5fcdf2939dc9b01e1eb76cc73f0","modified":1570343209796},{"_id":"themes/next/source/css/_common/components/post/post-rtl.styl","hash":"b2495ae5e04dcca610aacadc47881d9e716cd440","modified":1570343209796},{"_id":"themes/next/source/css/_common/components/post/post-tags.styl","hash":"5a982d8ef3b3623ea5f59e63728990f5623c1b57","modified":1570343209796},{"_id":"themes/next/source/css/_common/components/post/post-title.styl","hash":"539fc0880b2e035e8316d5d4b423703195c1b7ba","modified":1570343209797},{"_id":"themes/next/source/css/_common/components/post/post-type.styl","hash":"01567edaea6978628aa5521a122a85434c418bfd","modified":1570343209798},{"_id":"themes/next/source/css/_common/components/post/post-widgets.styl","hash":"5c3141d58970a0614896b6a62fd7a8a8caf4e401","modified":1570343209798},{"_id":"themes/next/source/css/_common/components/post/post.styl","hash":"6e2f0e0200a3c805b8c8fecff12edb7a7e933236","modified":1570343209798},{"_id":"themes/next/source/css/_common/components/sidebar/sidebar-author-links.styl","hash":"fa57ec9a6f1943c0558856dfba2d6b8faca0cd4d","modified":1570343209799},{"_id":"themes/next/source/css/_common/components/sidebar/sidebar-author.styl","hash":"369bf559ce7e72e9b387981ce2a7e03416e063d8","modified":1570343209800},{"_id":"themes/next/source/css/_common/components/sidebar/sidebar-blogroll.styl","hash":"41858f2dfd34a57d0a2016b1bce08efb61943b7a","modified":1570343209800},{"_id":"themes/next/source/css/_common/components/sidebar/sidebar-dimmer.styl","hash":"11c22f0fb3f6beb13e5a425ec064a4ff974c13b7","modified":1570343209801},{"_id":"themes/next/source/css/_common/components/sidebar/sidebar-feed-link.styl","hash":"61f8cea3c01acd600e90e1bc2a07def405503748","modified":1570343209802},{"_id":"themes/next/source/css/_common/components/sidebar/sidebar-nav.styl","hash":"1153bb71edf253765145559674390e16dd67c633","modified":1570343209802},{"_id":"themes/next/source/css/_common/components/sidebar/sidebar-toc.styl","hash":"9e05a2232faabb41bcebb51d545d897a76f077da","modified":1570343209803},{"_id":"themes/next/source/css/_common/components/sidebar/sidebar-toggle.styl","hash":"a1521d48bb06d8d703753f52a198baa197af7da2","modified":1570343209803},{"_id":"themes/next/source/css/_common/components/sidebar/sidebar.styl","hash":"94d76e6da600a36d80e2470326ebb6b3be447ccb","modified":1570343209804},{"_id":"themes/next/source/css/_common/components/sidebar/site-state.styl","hash":"e71652d3216e289c8548b1ea2357822c1476a425","modified":1570343209804},{"_id":"themes/next/source/css/_common/components/tags/blockquote-center.styl","hash":"2fe76476432b31993338cb45cdb3b29a518b6379","modified":1570343209805},{"_id":"themes/next/source/css/_common/components/tags/full-image.styl","hash":"2d58ad90f148e845bc7023751a7a13260600f8d6","modified":1570343209806},{"_id":"themes/next/source/css/_common/components/tags/group-pictures.styl","hash":"2ad1a2a9bbf6742d1b0762c4c623b68113d1e0fe","modified":1570343209807},{"_id":"themes/next/source/css/_common/components/tags/label.styl","hash":"2ab1322fe52ab5aafd49e68f5bd890e8380ee927","modified":1570343209807},{"_id":"themes/next/source/css/_common/components/tags/note-modern.styl","hash":"b7076e58d647265ee0ad2b461fe8ce72c9373bc5","modified":1570343209808},{"_id":"themes/next/source/css/_common/components/tags/note.styl","hash":"9a409b798decdefdaf7a23f0b11004a8c27e82f3","modified":1570343209808},{"_id":"themes/next/source/css/_common/components/tags/tabs.styl","hash":"154a87a32d2fead480d5e909c37f6c476671c5e6","modified":1570343209809},{"_id":"themes/next/source/css/_common/components/tags/tags.styl","hash":"f1640253cbbf71d0c04c34c25bd61045894f98bc","modified":1570343209809},{"_id":"themes/next/source/css/_common/components/third-party/algolia-search.styl","hash":"f4d8144c22544bdb89787c14ab9d39578dae4b7c","modified":1570343209810},{"_id":"themes/next/source/css/_common/components/third-party/busuanzi-counter.styl","hash":"a6e7d698702c2e383dde3fde2abde27951679084","modified":1570343209811},{"_id":"themes/next/source/css/_common/components/third-party/gitalk.styl","hash":"a01484e350ad5fc9b1fdfbfafb2ddd9687ad4d20","modified":1570343209811},{"_id":"themes/next/source/css/_common/components/third-party/gitment.styl","hash":"874278147115601d2abf15987f5f7a84ada1ac6b","modified":1570343209812},{"_id":"themes/next/source/css/_common/components/third-party/han.styl","hash":"10599e16414a8b7a76c4e79e6617b5fe3d4d1adf","modified":1570343209812},{"_id":"themes/next/source/css/_common/components/third-party/localsearch.styl","hash":"16087276945fa038f199692e3eabb1c52b8ea633","modified":1570343209813},{"_id":"themes/next/source/css/_common/components/third-party/needsharebutton.styl","hash":"28825ae15fa20ae3942cdaa7bcc1f3523ce59acc","modified":1570343209814},{"_id":"themes/next/source/css/_common/components/third-party/related-posts.styl","hash":"acfdd76b1c90d2e384affb3d0006a39b524609d2","modified":1570343209814},{"_id":"themes/next/source/css/_common/components/third-party/third-party.styl","hash":"84d844ff296fb7c8c8bec8296cdf82af40299fdb","modified":1570343209815},{"_id":"themes/next/source/css/_schemes/Mist/outline/outline.styl","hash":"a07aa12cc36ac5c819670c2a3c17d07ed7a08986","modified":1570343209829},{"_id":"themes/next/source/css/_schemes/Mist/sidebar/sidebar-blogroll.styl","hash":"1f09be9bb38411f0629b58c3b23873589a6dbcaa","modified":1570343209830},{"_id":"themes/next/source/css/_schemes/Muse/sidebar/sidebar-blogroll.styl","hash":"1f09be9bb38411f0629b58c3b23873589a6dbcaa","modified":1570343209834},{"_id":"themes/next/source/lib/velocity/velocity.js","hash":"4237c6e9d59da349639de20e559e87c2c0218cfd","modified":1570343209875},{"_id":"themes/next/source/images/wallhaven-248751.png","hash":"9f9304acb044532a409b7ab5fcf2f44baf2a9a97","modified":1570343209863},{"_id":"public/atom.xml","hash":"80c8ac73c5ab027907b4c82973717b31b8a3d083","modified":1570393379522},{"_id":"public/search.json","hash":"805e98ed7f5228e61f6ff7e6f6a7697a13832b09","modified":1570393379522},{"_id":"public/searchVersion.txt","hash":"1407125113d456c71d446d3c3b12f713358dae7c","modified":1570393379527},{"_id":"public/leancloud_counter_security_urls.json","hash":"676c1907fdc4971572f08ac6c58677c5116abd07","modified":1570393379527},{"_id":"public/about/index.html","hash":"42cd46981c6894d098bbb5d7de66b746211f5ab4","modified":1570393379702},{"_id":"public/categories/index.html","hash":"d6b36a72f690c936fe26a92f7621c3676d0297c9","modified":1570393379702},{"_id":"public/gallery/index.html","hash":"1617525018d0a50a532747473464834e0cc4a0c8","modified":1570393379703},{"_id":"public/reading/index.html","hash":"4485215feb4ead28ca718fd61a4efb17eaa08bda","modified":1570393379703},{"_id":"public/tags/index.html","hash":"2c650d27644692f851d41393fb8edb98b38145ba","modified":1570393379703},{"_id":"public/2020/08/06/读 - 图解HTTP.html","hash":"46b4eb6352ec814283370e5654a2f3c34a18f158","modified":1570393379703},{"_id":"public/archives/index.html","hash":"5df540e54764cfe275fe405e234f03f407352172","modified":1570393379704},{"_id":"public/archives/2020/index.html","hash":"3244cd9a89c3dc905aa72c702ed07391fb651e22","modified":1570393379704},{"_id":"public/archives/2020/08/index.html","hash":"2a01c8e029cab9adc5d5faf6a23fb5f5d2fab5f2","modified":1570393379704},{"_id":"public/categories/读书笔记/index.html","hash":"656b614a1c341802115a7c7dd5c9fda05d1c4cb8","modified":1570393379704},{"_id":"public/CNAME","hash":"da39a3ee5e6b4b0d3255bfef95601890afd80709","modified":1570393379704},{"_id":"public/index.html","hash":"7a280631fd64918c5aa5739d9a557e8c4e97e4ac","modified":1570393379708},{"_id":"public/tags/HTTP/index.html","hash":"8b1a8575996db072c9ece94dcf61ac8548fbdf18","modified":1570393379708},{"_id":"public/leancloud.memo","hash":"b001b1346e1d8c51b340a9cabef871f0103f8db7","modified":1570393379708},{"_id":"public/uploads/avatar.jpg","hash":"3912c72e6d4ec1d6c7e8bf237f62ab44879ed13d","modified":1570393379708},{"_id":"public/images/1.svg","hash":"169f56fd82941591dad3abd734a50ec7259be950","modified":1570393379708},{"_id":"public/images/algolia_logo.svg","hash":"45eeea0b5fba833e21e38ea10ed5ab385ceb4f01","modified":1570393379708},{"_id":"public/images/apple-touch-icon-next.png","hash":"74f61cee1b8149f83ea3a0533c1ae285f89884fa","modified":1570393379709},{"_id":"public/images/avatar.gif","hash":"264082bb3a1af70d5499c7d22b0902cb454b6d12","modified":1570393379709},{"_id":"public/images/cc-by-nc-nd.svg","hash":"bc3588c9b2d7c68830524783120ff6cf957cf668","modified":1570393379709},{"_id":"public/images/cc-by-nc-sa.svg","hash":"6f55543d1fb9cbc436c101d24f802dec7b41efc3","modified":1570393379709},{"_id":"public/images/cc-by-nc.svg","hash":"6f076713fb9bf934aa2c1046bdf2cf2e37bc1eab","modified":1570393379709},{"_id":"public/images/cc-by-nd.svg","hash":"42cd73da328077ccc92f859bb8f3cf621b3484f8","modified":1570393379709},{"_id":"public/images/cc-by-sa.svg","hash":"70c1535f43e54e5ff35ca81419e77e4c0c301398","modified":1570393379709},{"_id":"public/images/cc-by.svg","hash":"e92a33c32d1dac8ed94849b2b4e6456e887efe70","modified":1570393379709},{"_id":"public/images/cc-zero.svg","hash":"9bfb52b2f63527a7049247bf00d44e6dc1170e7d","modified":1570393379709},{"_id":"public/images/favicon-16x16-next.png","hash":"74f61cee1b8149f83ea3a0533c1ae285f89884fa","modified":1570393379709},{"_id":"public/images/favicon-32x32-next.png","hash":"74f61cee1b8149f83ea3a0533c1ae285f89884fa","modified":1570393379709},{"_id":"public/images/favicon.ico","hash":"a9f9a115f6d5af138ace628cde4769165a45ef03","modified":1570393379709},{"_id":"public/images/loading.gif","hash":"5fbd472222feb8a22cf5b8aa5dc5b8e13af88e2b","modified":1570393379709},{"_id":"public/images/placeholder.gif","hash":"5fbd472222feb8a22cf5b8aa5dc5b8e13af88e2b","modified":1570393379709},{"_id":"public/images/quote-l.svg","hash":"cd108d6f44351cadf8e6742565217f88818a0458","modified":1570393379710},{"_id":"public/images/quote-r.svg","hash":"2a2a250b32a87c69dcc1b1976c74b747bedbfb41","modified":1570393379710},{"_id":"public/images/searchicon.png","hash":"67727a6a969be0b2659b908518fa6706eed307b8","modified":1570393379710},{"_id":"public/css/main.css","hash":"da39a3ee5e6b4b0d3255bfef95601890afd80709","modified":1570393380084},{"_id":"public/js/src/affix.js","hash":"a2aab233d99297435a5274bf512c3c753fe08e80","modified":1570393380085},{"_id":"public/js/src/algolia-search.js","hash":"1f7f10c579e7703d0f6acb8b73f3d78a07d0c623","modified":1570393380086},{"_id":"public/js/src/bootstrap.js","hash":"1c41508b83cb0c4512e64b4d63afa1be954ce8ef","modified":1570393380086},{"_id":"public/js/src/canvas-ribbon.js","hash":"65b1a8f12d04b15d7ed6eeb9d11dec760a799c5f","modified":1570393380086},{"_id":"public/js/src/instantclick.min.js","hash":"76b10070628006c82c2e5324fc56a7db0a019112","modified":1570393380086},{"_id":"public/js/src/exturl.js","hash":"54825acc8de4793feac415be227b965428f4e97d","modified":1570393380086},{"_id":"public/js/src/js.cookie.js","hash":"9b37973a90fd50e71ea91682265715e45ae82c75","modified":1570393380086},{"_id":"public/js/src/post-details.js","hash":"54c379d3ef8d34b5cafcaead7cecf52d77f207a9","modified":1570393380086},{"_id":"public/js/src/scroll-cookie.js","hash":"d07b3776708d4ae79ed2037c4c7391d5c9b06b19","modified":1570393380086},{"_id":"public/js/src/scrollspy.js","hash":"fa3c92968bcdbcb8d95a1729f7659d9753cbd077","modified":1570393380086},{"_id":"public/js/src/schemes/pisces.js","hash":"72037e8c4202a73b0c6ff7d81b57cd349e836837","modified":1570393380087},{"_id":"public/js/src/motion.js","hash":"b45d2c0d48f2c8e6a0621b8063845f76b89476cc","modified":1570393380090},{"_id":"public/js/src/utils.js","hash":"28a79d317b7f4012917a54cac770551596bf6241","modified":1570393380090},{"_id":"public/lib/velocity/velocity.ui.min.js","hash":"ed5e534cd680a25d8d14429af824f38a2c7d9908","modified":1570393380091},{"_id":"public/images/bg.jpg","hash":"47e10b1298dab18e2e2f0f8c80960bfa512ee90a","modified":1570393380098},{"_id":"public/images/bg-back.jpg","hash":"f1333ec5d594f87e1539405dfa9e3cb62cfb0d7f","modified":1570393380109},{"_id":"public/lib/velocity/velocity.min.js","hash":"2f1afadc12e4cf59ef3b405308d21baa97e739c6","modified":1570393380149},{"_id":"public/lib/velocity/velocity.ui.js","hash":"6a1d101eab3de87527bb54fcc8c7b36b79d8f0df","modified":1570393380149},{"_id":"public/images/wallhaven-248751.png","hash":"9f9304acb044532a409b7ab5fcf2f44baf2a9a97","modified":1570393380184},{"_id":"public/lib/jquery/index.js","hash":"41b4bfbaa96be6d1440db6e78004ade1c134e276","modified":1570393380199},{"_id":"public/lib/velocity/velocity.js","hash":"9f08181baea0cc0e906703b7e5df9111b9ef3373","modified":1570393380209}],"Category":[{"name":"读书笔记","_id":"ck1ffo5oy00062oql3q0g6s98"}],"Data":[],"Page":[{"title":"about","date":"2018-12-02T11:47:24.000Z","layout":"about","type":"about","comments":1,"_content":"\n# 关于我\n","source":"about/index.md","raw":"---\ntitle: about\ndate: 2018-12-02 19:47:24\nlayout: about\ntype: about\ncomments: true\n---\n\n# 关于我\n","updated":"2019-10-06T06:26:48.992Z","path":"about/index.html","_id":"ck1ffo5i100002oql25zwpd6l","content":"<h1 id=\"关于我\"><a href=\"#关于我\" class=\"headerlink\" title=\"关于我\"></a>关于我</h1>","site":{"data":{}},"excerpt":"","more":"<h1 id=\"关于我\"><a href=\"#关于我\" class=\"headerlink\" title=\"关于我\"></a>关于我</h1>"},{"title":"文章分类","date":"2019-09-08T12:02:40.000Z","type":"categories","comments":0,"_content":"\n","source":"categories/index.md","raw":"---\ntitle: 文章分类\ndate: 2019-09-8 20:02:40\ntype: \"categories\"\ncomments: false\n---\n\n","updated":"2019-10-06T06:26:48.993Z","path":"categories/index.html","layout":"page","_id":"ck1ffo5i300012oqlo0my2iaa","content":"","site":{"data":{}},"excerpt":"","more":""},{"title":"gallery","layout":"gallery","type":"gallery","date":"2019-03-07T09:02:23.000Z","_content":"","source":"gallery/index.md","raw":"---\ntitle: gallery\nlayout: gallery\ntype: gallery\ndate: 2019-03-07 17:02:23\n---\n","updated":"2019-10-06T06:26:48.993Z","path":"gallery/index.html","comments":1,"_id":"ck1ffo5i400022oql2nmvojv8","content":"","site":{"data":{}},"excerpt":"","more":""},{"title":"读书 | 观影","date":"2019-01-01T12:01:01.000Z","_content":"","source":"reading/index.md","raw":"---\ntitle: 读书 | 观影\ndate: 2019-01-01 20:01:01\n---","updated":"2019-10-06T10:06:24.014Z","path":"reading/index.html","comments":1,"layout":"page","_id":"ck1ffo5ou00042oqlzkucmyhy","content":"","site":{"data":{}},"excerpt":"","more":""},{"title":"tags","type":"tags","comments":0,"_content":"","source":"tags/index.md","raw":"---\ntitle: tags\ntype: \"tags\"\ncomments: false\n---","date":"2019-10-06T06:26:49.001Z","updated":"2019-10-06T06:26:49.001Z","path":"tags/index.html","layout":"page","_id":"ck1ffo5ow00052oqli83ip5xt","content":"","site":{"data":{}},"excerpt":"","more":""}],"Post":[{"title":"《图解HTTP》读书笔记","copyright":true,"date":"2020-08-05T16:00:00.000Z","_content":"\n<!-- more -->\n\n本篇文章是[《图解HTTP》](https://book.douban.com/subject/25863515/)读书笔记,用于回顾...\n\n---\n\n\n## 第 1 章 了解 Web 及网络基础\n\nWeb 是建立在 HTTP 协议上通信的\n\n1989 年 3 月,HTTP 诞生了。\n\n通常使用的网络(包括互联网)是在 TCP/IP 协议族的基础上运作的。而 HTTP 属于它内部的一个子集。\n\nTCP/IP 协议族按层次分别分为以下 4 层:应用层(ftp、dns、http)、传输层(tcp、udp)、网络层(数据包)和数据链路层(硬件)。\n\n\n\n\n可能有人会把“IP”和“IP 地址”搞混,“IP”其实是一种协议的名称。IP 协议的作用是把各种数据包传送给对方。而要保证确实传送到对方那里,则需要满足各类条件。其中两个重要的条件是 IP 地址和 MAC 地址(Media Access Control Address)。\n\nARP 是一种用以解析地址的协议,根据通信方的 IP 地址就可以反查出对应的 MAC 地址。\n\nTCP。发送端首先发送一个带 SYN 标志的数据包给对方。接收端收到后,回传一个带有 SYN/ACK 标志的数据包以示传达确认信息。最后,发送端再回传一个带 ACK 标志的数据包,代表“握手”结束。\n\nDNS 协议提供通过域名查找 IP 地址,或逆向从 IP 地址反查域名的服务。\n \n\n\nURI 就是由某个协议方案表示的资源的定位标识符。采用 HTTP 协议时,协议方案就是 http。除此之外,还有 ftp、mailto、telnet、file 等。\n\n## 第 2 章 简单的 HTTP 协议\n\nHTTP 协议规定,请求从客户端发出,最后服务器端响应该请求并返回。\n\nHTTP 是一种不保存状态,即无状态(stateless)协议。这是为了更快地处理大量事务,确保协议的可伸缩性,而特意把 HTTP 协议设计成如此简单的。\n\nGET 方法用来请求访问已被 URI 识别的资源。“我想访问你的某个资源啊”\n\nPOST 方法用来传输实体的主体。“我要把这条信息告诉你!”\n\nPUT 方法用来传输文件。但是,鉴于 HTTP/1.1 的 PUT 方法自身不带验证机制,任何人都可以上传文件 , 存在安全性问题,因此一般的 Web 网站不使用该方法。\n\nHEAD 方法和 GET 方法一样,只是不返回报文主体部分。用于确认URI 的有效性及资源更新的日期时间等。\n\nDELETE 方法用来删除文件,是与 PUT 相反的方法。DELETE 方法按请求 URI 删除指定的资源。(一般也不用)\n\nOPTIONS 方法用来查询针对请求 URI 指定的资源支持的方法。\n\nTRACE 方法是让 Web 服务器端将之前的请求通信环回给客户端的方法。\n\nCONNECT 方法要求在与代理服务器通信时建立隧道,实现用隧道协议进行 TCP 通信。\n\nHTTP/1.1 和一部分的 HTTP/1.0 想出了持久连接(HTTP Persistent Connections,也称为 HTTP keep-alive 或 HTTP connection reuse)的方法。持久连接的特点是,只要任意一端没有明确提出断开连接,则保持 TCP 连接状态。\n\n持久连接使得多数请求以管线化(pipelining)方式发送成为可能。从前发送请求后需等待并收到响应,才能发送下一个请求。管线化技术出现后,不用等待响应亦可直接发送下一个请求。\n\nCookie 技术通过在请求和响应报文中写入 Cookie 信息来控制客户端的状态。\n\n## 第 3 章 HTTP 报文内的 HTTP 信息\n\nHTTP 报文大致可分为报文首部和报文主体两块。两者由最初出现的空行(CR+LF)来划分。通常,并不一定要有报文主体\n\n通常,报文主体等于实体主体。只有当传输中进行编码操作时,实体主体的内容发生变化,才导致它和报文主体产生差异。\n\n这种把实体主体分块的功能称为分块传输编码(Chunked Transfer Coding)。\n\n在 HTTP 报文中使用多部分对象集合时,需要在首部字段里加上 Content-type。\n\n指定范围发送的请求叫做范围请求(Range Request)。对一份 10 000 字节大小的资源,如果使用范围请求,可以只请求 5001~10 000 字节内的资源。执行范围请求时,会用到首部字段 Range 来指定资源的 byte 范围。\n\n内容协商机制是指客户端和服务器端就响应的资源内容进行交涉,然后提供给客户端最为适合的资源。内容协商会以响应资源的语言、字符集、编码方式等作为判断的基准。\n\n## 第 4 章 返回结果的 HTTP 状态码\n\n\n\n|||\n|:--:|:--:|\n|200 OK|从客户端发来的请求在服务器端被正常处理了|\n|204 No Content|服务器接收的请求已成功处理,但在返回的响应报文中不含实体的主体部分。|\n|206 Partial Content|客户端进行了范围请求,而服务器成功执行了这部分的 GET 请求|\n|301 Moved Permanently|请求的资源已被分配了新的 URI|\n|302 Found|临时性重定向(不用更新书签)|\n|303 See Other|303 状态码和 302 有着相同的功能,但 303 状态码明确表示客户端应当采用 GET 方法获取资源|\n|307 Temporary Redirect|与 302 Found 有着相同的含义|\n|400 Bad Request|请求报文中存在语法错误|\n|401 Unauthorized|发送的请求需要有通过 HTTP 认证(BASIC 认证、DIGEST 认证)的认证信息|\n|403 Forbidden|对请求资源的访问被服务器拒绝了|\n|404 Not Found|服务器上无法找到请求的资源|\n|500 Internal Server Error|服务器端在执行请求时发生了错误|\n|503 Service Unavailable|服务器暂时处于超负载或正在进行停机维护,现在无法处理请求|\n\n## 第 5 章 与 HTTP 协作的 Web 服务器\n\n代理是一种有转发功能的应用程序,它扮演了位于服务器和客户端“中间人”的角色,接收由客户端发送的请求并转发给服务器,同时也接收服务器返回的响应并转发给客户端。\n\n网关的工作机制和代理十分相似。而网关能使通信线路上的服务器提供非 HTTP 协议服务\n\n隧道可按要求建立起一条与其他服务器的通信线路,届时使用 SSL 等加密手段进行通信。隧道的目的是确保客户端能与服务器进行安全的通信。\n\n\n## 第 6 章 HTTP 首部\n\nUser-Agent 用于传达浏览器的种类。\n\n实体首部字段是包含在请求报文和响应报文中的实体部分所使用的首部,用于补充内容的更新时间等与实体相关的信息。\n\n## 第 7 章 确保 Web 安全的 HTTPS\n\nHTTP 主要有这些不足,例举如下。\n\n- 通信使用明文(不加密),内容可能会被窃听\n- 不验证通信方的身份,因此有可能遭遇伪装\n- 无法证明报文的完整性,所以有可能已遭篡改\n\n与 SSL 组合使用的 HTTP 被称为 HTTPS(HTTP Secure,超文本传输安全协议)或 HTTP over SSL。\n\nHTTP+ 加密 + 认证 + 完整性保护 = HTTPS\n\nHTTPS 采用共享密钥加密和公开密钥加密两者并用的混合加密机制。\n\n## 第 8 章 确认访问用户身份的认证\n\nBASIC 认证\n\n当请求的资源需要 BASIC 认证时,服务器会随状态码 401 Authorization Required;接收到状态码 401 的客户端为了通过 BASIC 认证,需要将用户 ID 及密码经过 Base64 编码处理发送给服务器;接收到包含首部字段 Authorization 请求的服务器,会对认证信息的正确性进行验证。如验证通过,则返回一条包含 Request-URI 资源的响应。\n\nDIGEST 认证\n\n质询响应方式是指,一开始一方会先发送认证要求给另一方,接着使用从另一方那接收到的质询码计算生成响应码。最后将响应码返回给对方进行认证的方式。\n\nSSL 客户端认证\n\n为达到 SSL 客户端认证的目的,需要事先将客户端证书分发给客户端,且客户端必须安装此证书。\n\n基于表单验证\n\n我们会使用 Cookie 来管理 Session,以弥补 HTTP 协议中不存在的状态管理功能。\n\n## 第 9 章 基于 HTTP 的功能追加协议\n\nGoogle 在 2010 年发布了 SPDY(取自 SPeeDY,发音同 speedy),其开发目标旨在解决 HTTP 的性能瓶颈,缩短 Web 页面的加载时间(50%)。\n\nAjax 局部刷新。\n\n\n\n\n使用 SPDY 后,HTTP 协议额外获得以下功能。\n\n- 多路复用流。通过单一的 TCP 连接,可以无限制处理多个 HTTP 请求。\n- 赋予请求优先级\n- 压缩 HTTP 首部\n- 推送功能。支持服务器主动向客户端推送数据的功能。\n- 服务器提示功能。服务器可以主动提示客户端请求所需的资源。\n\nWebSocket,即 Web 浏览器与 Web 服务器之间全双工通信标准。\n\n下面我们列举一下 WebSocket 协议的主要特点。\n\n- 推送功能\n- 减少通信量。首部信息小,一次握手。\n\nHTTP / 2.0\n\n\n\nWebDAV(Web-based Distributed Authoring and Versioning,基于万维网的分布式创作和版本控制)是一个可对 Web 服务器上的内容直接进行文件复制、编辑等操作的分布式文件系统。\n\n## 第 10 章 构建 Web 内容的技术\n\nRSS(简易信息聚合,也叫聚合内容)和 Atom 都是发布新闻或博客日志等更新信息文档的格式的总称。两者都用到了 XML。\n\nJSON(JavaScript Object Notation)是一种以 **JavaScript**(ECMAScript)的对象表示法为基础的轻量级数据标记语言。\n\n## 第 11 章 Web 的攻击技术\n\nHTTP 不具备必要的安全功能,自行设计导致问题。\n\n主动攻击(active attack)是指攻击者通过直接访问 Web 应用,把攻击代码传入的攻击模式。主动攻击模式里具有代表性的攻击是 SQL 注入攻击和 OS 命令注入攻击。\n\n被动攻击(passive attack)是指利用圈套策略执行攻击代码的攻击模式。被动攻击模式中具有代表性的攻击是跨站脚本攻击和跨站点请求伪造。\n\n跨站脚本攻击(Cross-Site Scripting,XSS)是指通过存在安全漏洞的Web 网站注册用户的浏览器内运行非法的 HTML 标签或 JavaScript 进行的一种攻击。\n\nSQL 注入(SQL Injection)是指针对 Web 应用使用的数据库,通过运行非法的 SQL 而产生的攻击。\n\nOS 命令注入攻击(OS Command Injection)是指通过 Web 应用,执行非法的操作系统命令达到攻击的目的。只要在能调用 Shell 函数的地方就有存在被攻击的风险。\n\nHTTP 首部注入攻击(HTTP Header Injection)是指攻击者通过在响应首部字段内插入换行,添加任意响应首部或主体的一种攻击。\n\n邮件首部注入(Mail Header Injection)是指 Web 应用中的邮件发送功能,攻击者通过向邮件首部 To 或 Subject 内任意添加非法内容发起的攻击。\n\n目录遍历(Directory Traversal)攻击是指对本无意公开的文件目录,通过非法截断其目录路径后,达成访问目的的一种攻击\n","source":"_posts/读 - 图解HTTP.md","raw":"---\ntitle: 《图解HTTP》读书笔记\ntags: HTTP\ncopyright: true\ndate: 2019-20-06\ncategories: 读书笔记\n---\n\n<!-- more -->\n\n本篇文章是[《图解HTTP》](https://book.douban.com/subject/25863515/)读书笔记,用于回顾...\n\n---\n\n\n## 第 1 章 了解 Web 及网络基础\n\nWeb 是建立在 HTTP 协议上通信的\n\n1989 年 3 月,HTTP 诞生了。\n\n通常使用的网络(包括互联网)是在 TCP/IP 协议族的基础上运作的。而 HTTP 属于它内部的一个子集。\n\nTCP/IP 协议族按层次分别分为以下 4 层:应用层(ftp、dns、http)、传输层(tcp、udp)、网络层(数据包)和数据链路层(硬件)。\n\n\n\n\n可能有人会把“IP”和“IP 地址”搞混,“IP”其实是一种协议的名称。IP 协议的作用是把各种数据包传送给对方。而要保证确实传送到对方那里,则需要满足各类条件。其中两个重要的条件是 IP 地址和 MAC 地址(Media Access Control Address)。\n\nARP 是一种用以解析地址的协议,根据通信方的 IP 地址就可以反查出对应的 MAC 地址。\n\nTCP。发送端首先发送一个带 SYN 标志的数据包给对方。接收端收到后,回传一个带有 SYN/ACK 标志的数据包以示传达确认信息。最后,发送端再回传一个带 ACK 标志的数据包,代表“握手”结束。\n\nDNS 协议提供通过域名查找 IP 地址,或逆向从 IP 地址反查域名的服务。\n \n\n\nURI 就是由某个协议方案表示的资源的定位标识符。采用 HTTP 协议时,协议方案就是 http。除此之外,还有 ftp、mailto、telnet、file 等。\n\n## 第 2 章 简单的 HTTP 协议\n\nHTTP 协议规定,请求从客户端发出,最后服务器端响应该请求并返回。\n\nHTTP 是一种不保存状态,即无状态(stateless)协议。这是为了更快地处理大量事务,确保协议的可伸缩性,而特意把 HTTP 协议设计成如此简单的。\n\nGET 方法用来请求访问已被 URI 识别的资源。“我想访问你的某个资源啊”\n\nPOST 方法用来传输实体的主体。“我要把这条信息告诉你!”\n\nPUT 方法用来传输文件。但是,鉴于 HTTP/1.1 的 PUT 方法自身不带验证机制,任何人都可以上传文件 , 存在安全性问题,因此一般的 Web 网站不使用该方法。\n\nHEAD 方法和 GET 方法一样,只是不返回报文主体部分。用于确认URI 的有效性及资源更新的日期时间等。\n\nDELETE 方法用来删除文件,是与 PUT 相反的方法。DELETE 方法按请求 URI 删除指定的资源。(一般也不用)\n\nOPTIONS 方法用来查询针对请求 URI 指定的资源支持的方法。\n\nTRACE 方法是让 Web 服务器端将之前的请求通信环回给客户端的方法。\n\nCONNECT 方法要求在与代理服务器通信时建立隧道,实现用隧道协议进行 TCP 通信。\n\nHTTP/1.1 和一部分的 HTTP/1.0 想出了持久连接(HTTP Persistent Connections,也称为 HTTP keep-alive 或 HTTP connection reuse)的方法。持久连接的特点是,只要任意一端没有明确提出断开连接,则保持 TCP 连接状态。\n\n持久连接使得多数请求以管线化(pipelining)方式发送成为可能。从前发送请求后需等待并收到响应,才能发送下一个请求。管线化技术出现后,不用等待响应亦可直接发送下一个请求。\n\nCookie 技术通过在请求和响应报文中写入 Cookie 信息来控制客户端的状态。\n\n## 第 3 章 HTTP 报文内的 HTTP 信息\n\nHTTP 报文大致可分为报文首部和报文主体两块。两者由最初出现的空行(CR+LF)来划分。通常,并不一定要有报文主体\n\n通常,报文主体等于实体主体。只有当传输中进行编码操作时,实体主体的内容发生变化,才导致它和报文主体产生差异。\n\n这种把实体主体分块的功能称为分块传输编码(Chunked Transfer Coding)。\n\n在 HTTP 报文中使用多部分对象集合时,需要在首部字段里加上 Content-type。\n\n指定范围发送的请求叫做范围请求(Range Request)。对一份 10 000 字节大小的资源,如果使用范围请求,可以只请求 5001~10 000 字节内的资源。执行范围请求时,会用到首部字段 Range 来指定资源的 byte 范围。\n\n内容协商机制是指客户端和服务器端就响应的资源内容进行交涉,然后提供给客户端最为适合的资源。内容协商会以响应资源的语言、字符集、编码方式等作为判断的基准。\n\n## 第 4 章 返回结果的 HTTP 状态码\n\n\n\n|||\n|:--:|:--:|\n|200 OK|从客户端发来的请求在服务器端被正常处理了|\n|204 No Content|服务器接收的请求已成功处理,但在返回的响应报文中不含实体的主体部分。|\n|206 Partial Content|客户端进行了范围请求,而服务器成功执行了这部分的 GET 请求|\n|301 Moved Permanently|请求的资源已被分配了新的 URI|\n|302 Found|临时性重定向(不用更新书签)|\n|303 See Other|303 状态码和 302 有着相同的功能,但 303 状态码明确表示客户端应当采用 GET 方法获取资源|\n|307 Temporary Redirect|与 302 Found 有着相同的含义|\n|400 Bad Request|请求报文中存在语法错误|\n|401 Unauthorized|发送的请求需要有通过 HTTP 认证(BASIC 认证、DIGEST 认证)的认证信息|\n|403 Forbidden|对请求资源的访问被服务器拒绝了|\n|404 Not Found|服务器上无法找到请求的资源|\n|500 Internal Server Error|服务器端在执行请求时发生了错误|\n|503 Service Unavailable|服务器暂时处于超负载或正在进行停机维护,现在无法处理请求|\n\n## 第 5 章 与 HTTP 协作的 Web 服务器\n\n代理是一种有转发功能的应用程序,它扮演了位于服务器和客户端“中间人”的角色,接收由客户端发送的请求并转发给服务器,同时也接收服务器返回的响应并转发给客户端。\n\n网关的工作机制和代理十分相似。而网关能使通信线路上的服务器提供非 HTTP 协议服务\n\n隧道可按要求建立起一条与其他服务器的通信线路,届时使用 SSL 等加密手段进行通信。隧道的目的是确保客户端能与服务器进行安全的通信。\n\n\n## 第 6 章 HTTP 首部\n\nUser-Agent 用于传达浏览器的种类。\n\n实体首部字段是包含在请求报文和响应报文中的实体部分所使用的首部,用于补充内容的更新时间等与实体相关的信息。\n\n## 第 7 章 确保 Web 安全的 HTTPS\n\nHTTP 主要有这些不足,例举如下。\n\n- 通信使用明文(不加密),内容可能会被窃听\n- 不验证通信方的身份,因此有可能遭遇伪装\n- 无法证明报文的完整性,所以有可能已遭篡改\n\n与 SSL 组合使用的 HTTP 被称为 HTTPS(HTTP Secure,超文本传输安全协议)或 HTTP over SSL。\n\nHTTP+ 加密 + 认证 + 完整性保护 = HTTPS\n\nHTTPS 采用共享密钥加密和公开密钥加密两者并用的混合加密机制。\n\n## 第 8 章 确认访问用户身份的认证\n\nBASIC 认证\n\n当请求的资源需要 BASIC 认证时,服务器会随状态码 401 Authorization Required;接收到状态码 401 的客户端为了通过 BASIC 认证,需要将用户 ID 及密码经过 Base64 编码处理发送给服务器;接收到包含首部字段 Authorization 请求的服务器,会对认证信息的正确性进行验证。如验证通过,则返回一条包含 Request-URI 资源的响应。\n\nDIGEST 认证\n\n质询响应方式是指,一开始一方会先发送认证要求给另一方,接着使用从另一方那接收到的质询码计算生成响应码。最后将响应码返回给对方进行认证的方式。\n\nSSL 客户端认证\n\n为达到 SSL 客户端认证的目的,需要事先将客户端证书分发给客户端,且客户端必须安装此证书。\n\n基于表单验证\n\n我们会使用 Cookie 来管理 Session,以弥补 HTTP 协议中不存在的状态管理功能。\n\n## 第 9 章 基于 HTTP 的功能追加协议\n\nGoogle 在 2010 年发布了 SPDY(取自 SPeeDY,发音同 speedy),其开发目标旨在解决 HTTP 的性能瓶颈,缩短 Web 页面的加载时间(50%)。\n\nAjax 局部刷新。\n\n\n\n\n使用 SPDY 后,HTTP 协议额外获得以下功能。\n\n- 多路复用流。通过单一的 TCP 连接,可以无限制处理多个 HTTP 请求。\n- 赋予请求优先级\n- 压缩 HTTP 首部\n- 推送功能。支持服务器主动向客户端推送数据的功能。\n- 服务器提示功能。服务器可以主动提示客户端请求所需的资源。\n\nWebSocket,即 Web 浏览器与 Web 服务器之间全双工通信标准。\n\n下面我们列举一下 WebSocket 协议的主要特点。\n\n- 推送功能\n- 减少通信量。首部信息小,一次握手。\n\nHTTP / 2.0\n\n\n\nWebDAV(Web-based Distributed Authoring and Versioning,基于万维网的分布式创作和版本控制)是一个可对 Web 服务器上的内容直接进行文件复制、编辑等操作的分布式文件系统。\n\n## 第 10 章 构建 Web 内容的技术\n\nRSS(简易信息聚合,也叫聚合内容)和 Atom 都是发布新闻或博客日志等更新信息文档的格式的总称。两者都用到了 XML。\n\nJSON(JavaScript Object Notation)是一种以 **JavaScript**(ECMAScript)的对象表示法为基础的轻量级数据标记语言。\n\n## 第 11 章 Web 的攻击技术\n\nHTTP 不具备必要的安全功能,自行设计导致问题。\n\n主动攻击(active attack)是指攻击者通过直接访问 Web 应用,把攻击代码传入的攻击模式。主动攻击模式里具有代表性的攻击是 SQL 注入攻击和 OS 命令注入攻击。\n\n被动攻击(passive attack)是指利用圈套策略执行攻击代码的攻击模式。被动攻击模式中具有代表性的攻击是跨站脚本攻击和跨站点请求伪造。\n\n跨站脚本攻击(Cross-Site Scripting,XSS)是指通过存在安全漏洞的Web 网站注册用户的浏览器内运行非法的 HTML 标签或 JavaScript 进行的一种攻击。\n\nSQL 注入(SQL Injection)是指针对 Web 应用使用的数据库,通过运行非法的 SQL 而产生的攻击。\n\nOS 命令注入攻击(OS Command Injection)是指通过 Web 应用,执行非法的操作系统命令达到攻击的目的。只要在能调用 Shell 函数的地方就有存在被攻击的风险。\n\nHTTP 首部注入攻击(HTTP Header Injection)是指攻击者通过在响应首部字段内插入换行,添加任意响应首部或主体的一种攻击。\n\n邮件首部注入(Mail Header Injection)是指 Web 应用中的邮件发送功能,攻击者通过向邮件首部 To 或 Subject 内任意添加非法内容发起的攻击。\n\n目录遍历(Directory Traversal)攻击是指对本无意公开的文件目录,通过非法截断其目录路径后,达成访问目的的一种攻击\n","slug":"读 - 图解HTTP","published":1,"updated":"2019-10-06T08:12:52.703Z","comments":1,"layout":"post","photos":[],"link":"","_id":"ck1ffo5oo00032oqlu3ji16lc","content":"<a id=\"more\"></a>\n<p>本篇文章是<a href=\"https://book.douban.com/subject/25863515/\" target=\"_blank\" rel=\"noopener\">《图解HTTP》</a>读书笔记,用于回顾…</p>\n<hr>\n<h2 id=\"第-1-章-了解-Web-及网络基础\"><a href=\"#第-1-章-了解-Web-及网络基础\" class=\"headerlink\" title=\"第 1 章 了解 Web 及网络基础\"></a>第 1 章 了解 Web 及网络基础</h2><p>Web 是建立在 HTTP 协议上通信的</p>\n<p>1989 年 3 月,HTTP 诞生了。</p>\n<p>通常使用的网络(包括互联网)是在 TCP/IP 协议族的基础上运作的。而 HTTP 属于它内部的一个子集。</p>\n<p>TCP/IP 协议族按层次分别分为以下 4 层:应用层(ftp、dns、http)、传输层(tcp、udp)、网络层(数据包)和数据链路层(硬件)。</p>\n<p><img src=\"https://i.loli.net/2019/05/18/5cdfd50905ca721779.png\" alt=\"\"></p>\n<p>可能有人会把“IP”和“IP 地址”搞混,“IP”其实是一种协议的名称。IP 协议的作用是把各种数据包传送给对方。而要保证确实传送到对方那里,则需要满足各类条件。其中两个重要的条件是 IP 地址和 MAC 地址(Media Access Control Address)。</p>\n<p>ARP 是一种用以解析地址的协议,根据通信方的 IP 地址就可以反查出对应的 MAC 地址。</p>\n<p>TCP。发送端首先发送一个带 SYN 标志的数据包给对方。接收端收到后,回传一个带有 SYN/ACK 标志的数据包以示传达确认信息。最后,发送端再回传一个带 ACK 标志的数据包,代表“握手”结束。</p>\n<p>DNS 协议提供通过域名查找 IP 地址,或逆向从 IP 地址反查域名的服务。</p>\n<p><img src=\"https://i.loli.net/2019/05/19/5ce02f4a68f1e69431.png\" alt=\"W.png\"></p>\n<p>URI 就是由某个协议方案表示的资源的定位标识符。采用 HTTP 协议时,协议方案就是 http。除此之外,还有 ftp、mailto、telnet、file 等。</p>\n<h2 id=\"第-2-章-简单的-HTTP-协议\"><a href=\"#第-2-章-简单的-HTTP-协议\" class=\"headerlink\" title=\"第 2 章 简单的 HTTP 协议\"></a>第 2 章 简单的 HTTP 协议</h2><p>HTTP 协议规定,请求从客户端发出,最后服务器端响应该请求并返回。</p>\n<p>HTTP 是一种不保存状态,即无状态(stateless)协议。这是为了更快地处理大量事务,确保协议的可伸缩性,而特意把 HTTP 协议设计成如此简单的。</p>\n<p>GET 方法用来请求访问已被 URI 识别的资源。“我想访问你的某个资源啊”</p>\n<p>POST 方法用来传输实体的主体。“我要把这条信息告诉你!”</p>\n<p>PUT 方法用来传输文件。但是,鉴于 HTTP/1.1 的 PUT 方法自身不带验证机制,任何人都可以上传文件 , 存在安全性问题,因此一般的 Web 网站不使用该方法。</p>\n<p>HEAD 方法和 GET 方法一样,只是不返回报文主体部分。用于确认URI 的有效性及资源更新的日期时间等。</p>\n<p>DELETE 方法用来删除文件,是与 PUT 相反的方法。DELETE 方法按请求 URI 删除指定的资源。(一般也不用)</p>\n<p>OPTIONS 方法用来查询针对请求 URI 指定的资源支持的方法。</p>\n<p>TRACE 方法是让 Web 服务器端将之前的请求通信环回给客户端的方法。</p>\n<p>CONNECT 方法要求在与代理服务器通信时建立隧道,实现用隧道协议进行 TCP 通信。</p>\n<p>HTTP/1.1 和一部分的 HTTP/1.0 想出了持久连接(HTTP Persistent Connections,也称为 HTTP keep-alive 或 HTTP connection reuse)的方法。持久连接的特点是,只要任意一端没有明确提出断开连接,则保持 TCP 连接状态。</p>\n<p>持久连接使得多数请求以管线化(pipelining)方式发送成为可能。从前发送请求后需等待并收到响应,才能发送下一个请求。管线化技术出现后,不用等待响应亦可直接发送下一个请求。</p>\n<p>Cookie 技术通过在请求和响应报文中写入 Cookie 信息来控制客户端的状态。</p>\n<h2 id=\"第-3-章-HTTP-报文内的-HTTP-信息\"><a href=\"#第-3-章-HTTP-报文内的-HTTP-信息\" class=\"headerlink\" title=\"第 3 章 HTTP 报文内的 HTTP 信息\"></a>第 3 章 HTTP 报文内的 HTTP 信息</h2><p>HTTP 报文大致可分为报文首部和报文主体两块。两者由最初出现的空行(CR+LF)来划分。通常,并不一定要有报文主体</p>\n<p>通常,报文主体等于实体主体。只有当传输中进行编码操作时,实体主体的内容发生变化,才导致它和报文主体产生差异。</p>\n<p>这种把实体主体分块的功能称为分块传输编码(Chunked Transfer Coding)。</p>\n<p>在 HTTP 报文中使用多部分对象集合时,需要在首部字段里加上 Content-type。</p>\n<p>指定范围发送的请求叫做范围请求(Range Request)。对一份 10 000 字节大小的资源,如果使用范围请求,可以只请求 5001~10 000 字节内的资源。执行范围请求时,会用到首部字段 Range 来指定资源的 byte 范围。</p>\n<p>内容协商机制是指客户端和服务器端就响应的资源内容进行交涉,然后提供给客户端最为适合的资源。内容协商会以响应资源的语言、字符集、编码方式等作为判断的基准。</p>\n<h2 id=\"第-4-章-返回结果的-HTTP-状态码\"><a href=\"#第-4-章-返回结果的-HTTP-状态码\" class=\"headerlink\" title=\"第 4 章 返回结果的 HTTP 状态码\"></a>第 4 章 返回结果的 HTTP 状态码</h2><p><img src=\"https://i.loli.net/2019/05/19/5ce0aec183a6b62272.png\" alt=\"\"></p>\n<div class=\"table-container\">\n<table>\n<thead>\n<tr>\n<th style=\"text-align:center\"></th>\n<th style=\"text-align:center\"></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td style=\"text-align:center\">200 OK</td>\n<td style=\"text-align:center\">从客户端发来的请求在服务器端被正常处理了</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">204 No Content</td>\n<td style=\"text-align:center\">服务器接收的请求已成功处理,但在返回的响应报文中不含实体的主体部分。</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">206 Partial Content</td>\n<td style=\"text-align:center\">客户端进行了范围请求,而服务器成功执行了这部分的 GET 请求</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">301 Moved Permanently</td>\n<td style=\"text-align:center\">请求的资源已被分配了新的 URI</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">302 Found</td>\n<td style=\"text-align:center\">临时性重定向(不用更新书签)</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">303 See Other</td>\n<td style=\"text-align:center\">303 状态码和 302 有着相同的功能,但 303 状态码明确表示客户端应当采用 GET 方法获取资源</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">307 Temporary Redirect</td>\n<td style=\"text-align:center\">与 302 Found 有着相同的含义</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">400 Bad Request</td>\n<td style=\"text-align:center\">请求报文中存在语法错误</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">401 Unauthorized</td>\n<td style=\"text-align:center\">发送的请求需要有通过 HTTP 认证(BASIC 认证、DIGEST 认证)的认证信息</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">403 Forbidden</td>\n<td style=\"text-align:center\">对请求资源的访问被服务器拒绝了</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">404 Not Found</td>\n<td style=\"text-align:center\">服务器上无法找到请求的资源</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">500 Internal Server Error</td>\n<td style=\"text-align:center\">服务器端在执行请求时发生了错误</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">503 Service Unavailable</td>\n<td style=\"text-align:center\">服务器暂时处于超负载或正在进行停机维护,现在无法处理请求</td>\n</tr>\n</tbody>\n</table>\n</div>\n<h2 id=\"第-5-章-与-HTTP-协作的-Web-服务器\"><a href=\"#第-5-章-与-HTTP-协作的-Web-服务器\" class=\"headerlink\" title=\"第 5 章 与 HTTP 协作的 Web 服务器\"></a>第 5 章 与 HTTP 协作的 Web 服务器</h2><p>代理是一种有转发功能的应用程序,它扮演了位于服务器和客户端“中间人”的角色,接收由客户端发送的请求并转发给服务器,同时也接收服务器返回的响应并转发给客户端。</p>\n<p>网关的工作机制和代理十分相似。而网关能使通信线路上的服务器提供非 HTTP 协议服务</p>\n<p>隧道可按要求建立起一条与其他服务器的通信线路,届时使用 SSL 等加密手段进行通信。隧道的目的是确保客户端能与服务器进行安全的通信。</p>\n<h2 id=\"第-6-章-HTTP-首部\"><a href=\"#第-6-章-HTTP-首部\" class=\"headerlink\" title=\"第 6 章 HTTP 首部\"></a>第 6 章 HTTP 首部</h2><p>User-Agent 用于传达浏览器的种类。</p>\n<p>实体首部字段是包含在请求报文和响应报文中的实体部分所使用的首部,用于补充内容的更新时间等与实体相关的信息。</p>\n<h2 id=\"第-7-章-确保-Web-安全的-HTTPS\"><a href=\"#第-7-章-确保-Web-安全的-HTTPS\" class=\"headerlink\" title=\"第 7 章 确保 Web 安全的 HTTPS\"></a>第 7 章 确保 Web 安全的 HTTPS</h2><p>HTTP 主要有这些不足,例举如下。</p>\n<ul>\n<li>通信使用明文(不加密),内容可能会被窃听</li>\n<li>不验证通信方的身份,因此有可能遭遇伪装</li>\n<li>无法证明报文的完整性,所以有可能已遭篡改</li>\n</ul>\n<p>与 SSL 组合使用的 HTTP 被称为 HTTPS(HTTP Secure,超文本传输安全协议)或 HTTP over SSL。</p>\n<p>HTTP+ 加密 + 认证 + 完整性保护 = HTTPS</p>\n<p>HTTPS 采用共享密钥加密和公开密钥加密两者并用的混合加密机制。</p>\n<h2 id=\"第-8-章-确认访问用户身份的认证\"><a href=\"#第-8-章-确认访问用户身份的认证\" class=\"headerlink\" title=\"第 8 章 确认访问用户身份的认证\"></a>第 8 章 确认访问用户身份的认证</h2><p>BASIC 认证</p>\n<p>当请求的资源需要 BASIC 认证时,服务器会随状态码 401 Authorization Required;接收到状态码 401 的客户端为了通过 BASIC 认证,需要将用户 ID 及密码经过 Base64 编码处理发送给服务器;接收到包含首部字段 Authorization 请求的服务器,会对认证信息的正确性进行验证。如验证通过,则返回一条包含 Request-URI 资源的响应。</p>\n<p>DIGEST 认证</p>\n<p>质询响应方式是指,一开始一方会先发送认证要求给另一方,接着使用从另一方那接收到的质询码计算生成响应码。最后将响应码返回给对方进行认证的方式。</p>\n<p>SSL 客户端认证</p>\n<p>为达到 SSL 客户端认证的目的,需要事先将客户端证书分发给客户端,且客户端必须安装此证书。</p>\n<p>基于表单验证</p>\n<p>我们会使用 Cookie 来管理 Session,以弥补 HTTP 协议中不存在的状态管理功能。</p>\n<h2 id=\"第-9-章-基于-HTTP-的功能追加协议\"><a href=\"#第-9-章-基于-HTTP-的功能追加协议\" class=\"headerlink\" title=\"第 9 章 基于 HTTP 的功能追加协议\"></a>第 9 章 基于 HTTP 的功能追加协议</h2><p>Google 在 2010 年发布了 SPDY(取自 SPeeDY,发音同 speedy),其开发目标旨在解决 HTTP 的性能瓶颈,缩短 Web 页面的加载时间(50%)。</p>\n<p>Ajax 局部刷新。</p>\n<p><img src=\"https://i.loli.net/2019/05/19/5ce0d6461175b27815.png\" alt=\"\"></p>\n<p>使用 SPDY 后,HTTP 协议额外获得以下功能。</p>\n<ul>\n<li>多路复用流。通过单一的 TCP 连接,可以无限制处理多个 HTTP 请求。</li>\n<li>赋予请求优先级</li>\n<li>压缩 HTTP 首部</li>\n<li>推送功能。支持服务器主动向客户端推送数据的功能。</li>\n<li>服务器提示功能。服务器可以主动提示客户端请求所需的资源。</li>\n</ul>\n<p>WebSocket,即 Web 浏览器与 Web 服务器之间全双工通信标准。</p>\n<p>下面我们列举一下 WebSocket 协议的主要特点。</p>\n<ul>\n<li>推送功能</li>\n<li>减少通信量。首部信息小,一次握手。</li>\n</ul>\n<p>HTTP / 2.0</p>\n<p><img src=\"https://i.loli.net/2019/05/19/5ce0dc40a17cc81791.png\" alt=\"\"></p>\n<p>WebDAV(Web-based Distributed Authoring and Versioning,基于万维网的分布式创作和版本控制)是一个可对 Web 服务器上的内容直接进行文件复制、编辑等操作的分布式文件系统。</p>\n<h2 id=\"第-10-章-构建-Web-内容的技术\"><a href=\"#第-10-章-构建-Web-内容的技术\" class=\"headerlink\" title=\"第 10 章 构建 Web 内容的技术\"></a>第 10 章 构建 Web 内容的技术</h2><p>RSS(简易信息聚合,也叫聚合内容)和 Atom 都是发布新闻或博客日志等更新信息文档的格式的总称。两者都用到了 XML。</p>\n<p>JSON(JavaScript Object Notation)是一种以 <strong>JavaScript</strong>(ECMAScript)的对象表示法为基础的轻量级数据标记语言。</p>\n<h2 id=\"第-11-章-Web-的攻击技术\"><a href=\"#第-11-章-Web-的攻击技术\" class=\"headerlink\" title=\"第 11 章 Web 的攻击技术\"></a>第 11 章 Web 的攻击技术</h2><p>HTTP 不具备必要的安全功能,自行设计导致问题。</p>\n<p>主动攻击(active attack)是指攻击者通过直接访问 Web 应用,把攻击代码传入的攻击模式。主动攻击模式里具有代表性的攻击是 SQL 注入攻击和 OS 命令注入攻击。</p>\n<p>被动攻击(passive attack)是指利用圈套策略执行攻击代码的攻击模式。被动攻击模式中具有代表性的攻击是跨站脚本攻击和跨站点请求伪造。</p>\n<p>跨站脚本攻击(Cross-Site Scripting,XSS)是指通过存在安全漏洞的Web 网站注册用户的浏览器内运行非法的 HTML 标签或 JavaScript 进行的一种攻击。</p>\n<p>SQL 注入(SQL Injection)是指针对 Web 应用使用的数据库,通过运行非法的 SQL 而产生的攻击。</p>\n<p>OS 命令注入攻击(OS Command Injection)是指通过 Web 应用,执行非法的操作系统命令达到攻击的目的。只要在能调用 Shell 函数的地方就有存在被攻击的风险。</p>\n<p>HTTP 首部注入攻击(HTTP Header Injection)是指攻击者通过在响应首部字段内插入换行,添加任意响应首部或主体的一种攻击。</p>\n<p>邮件首部注入(Mail Header Injection)是指 Web 应用中的邮件发送功能,攻击者通过向邮件首部 To 或 Subject 内任意添加非法内容发起的攻击。</p>\n<p>目录遍历(Directory Traversal)攻击是指对本无意公开的文件目录,通过非法截断其目录路径后,达成访问目的的一种攻击</p>\n","site":{"data":{}},"excerpt":"","more":"<p>本篇文章是<a href=\"https://book.douban.com/subject/25863515/\" target=\"_blank\" rel=\"noopener\">《图解HTTP》</a>读书笔记,用于回顾…</p>\n<hr>\n<h2 id=\"第-1-章-了解-Web-及网络基础\"><a href=\"#第-1-章-了解-Web-及网络基础\" class=\"headerlink\" title=\"第 1 章 了解 Web 及网络基础\"></a>第 1 章 了解 Web 及网络基础</h2><p>Web 是建立在 HTTP 协议上通信的</p>\n<p>1989 年 3 月,HTTP 诞生了。</p>\n<p>通常使用的网络(包括互联网)是在 TCP/IP 协议族的基础上运作的。而 HTTP 属于它内部的一个子集。</p>\n<p>TCP/IP 协议族按层次分别分为以下 4 层:应用层(ftp、dns、http)、传输层(tcp、udp)、网络层(数据包)和数据链路层(硬件)。</p>\n<p><img src=\"https://i.loli.net/2019/05/18/5cdfd50905ca721779.png\" alt=\"\"></p>\n<p>可能有人会把“IP”和“IP 地址”搞混,“IP”其实是一种协议的名称。IP 协议的作用是把各种数据包传送给对方。而要保证确实传送到对方那里,则需要满足各类条件。其中两个重要的条件是 IP 地址和 MAC 地址(Media Access Control Address)。</p>\n<p>ARP 是一种用以解析地址的协议,根据通信方的 IP 地址就可以反查出对应的 MAC 地址。</p>\n<p>TCP。发送端首先发送一个带 SYN 标志的数据包给对方。接收端收到后,回传一个带有 SYN/ACK 标志的数据包以示传达确认信息。最后,发送端再回传一个带 ACK 标志的数据包,代表“握手”结束。</p>\n<p>DNS 协议提供通过域名查找 IP 地址,或逆向从 IP 地址反查域名的服务。</p>\n<p><img src=\"https://i.loli.net/2019/05/19/5ce02f4a68f1e69431.png\" alt=\"W.png\"></p>\n<p>URI 就是由某个协议方案表示的资源的定位标识符。采用 HTTP 协议时,协议方案就是 http。除此之外,还有 ftp、mailto、telnet、file 等。</p>\n<h2 id=\"第-2-章-简单的-HTTP-协议\"><a href=\"#第-2-章-简单的-HTTP-协议\" class=\"headerlink\" title=\"第 2 章 简单的 HTTP 协议\"></a>第 2 章 简单的 HTTP 协议</h2><p>HTTP 协议规定,请求从客户端发出,最后服务器端响应该请求并返回。</p>\n<p>HTTP 是一种不保存状态,即无状态(stateless)协议。这是为了更快地处理大量事务,确保协议的可伸缩性,而特意把 HTTP 协议设计成如此简单的。</p>\n<p>GET 方法用来请求访问已被 URI 识别的资源。“我想访问你的某个资源啊”</p>\n<p>POST 方法用来传输实体的主体。“我要把这条信息告诉你!”</p>\n<p>PUT 方法用来传输文件。但是,鉴于 HTTP/1.1 的 PUT 方法自身不带验证机制,任何人都可以上传文件 , 存在安全性问题,因此一般的 Web 网站不使用该方法。</p>\n<p>HEAD 方法和 GET 方法一样,只是不返回报文主体部分。用于确认URI 的有效性及资源更新的日期时间等。</p>\n<p>DELETE 方法用来删除文件,是与 PUT 相反的方法。DELETE 方法按请求 URI 删除指定的资源。(一般也不用)</p>\n<p>OPTIONS 方法用来查询针对请求 URI 指定的资源支持的方法。</p>\n<p>TRACE 方法是让 Web 服务器端将之前的请求通信环回给客户端的方法。</p>\n<p>CONNECT 方法要求在与代理服务器通信时建立隧道,实现用隧道协议进行 TCP 通信。</p>\n<p>HTTP/1.1 和一部分的 HTTP/1.0 想出了持久连接(HTTP Persistent Connections,也称为 HTTP keep-alive 或 HTTP connection reuse)的方法。持久连接的特点是,只要任意一端没有明确提出断开连接,则保持 TCP 连接状态。</p>\n<p>持久连接使得多数请求以管线化(pipelining)方式发送成为可能。从前发送请求后需等待并收到响应,才能发送下一个请求。管线化技术出现后,不用等待响应亦可直接发送下一个请求。</p>\n<p>Cookie 技术通过在请求和响应报文中写入 Cookie 信息来控制客户端的状态。</p>\n<h2 id=\"第-3-章-HTTP-报文内的-HTTP-信息\"><a href=\"#第-3-章-HTTP-报文内的-HTTP-信息\" class=\"headerlink\" title=\"第 3 章 HTTP 报文内的 HTTP 信息\"></a>第 3 章 HTTP 报文内的 HTTP 信息</h2><p>HTTP 报文大致可分为报文首部和报文主体两块。两者由最初出现的空行(CR+LF)来划分。通常,并不一定要有报文主体</p>\n<p>通常,报文主体等于实体主体。只有当传输中进行编码操作时,实体主体的内容发生变化,才导致它和报文主体产生差异。</p>\n<p>这种把实体主体分块的功能称为分块传输编码(Chunked Transfer Coding)。</p>\n<p>在 HTTP 报文中使用多部分对象集合时,需要在首部字段里加上 Content-type。</p>\n<p>指定范围发送的请求叫做范围请求(Range Request)。对一份 10 000 字节大小的资源,如果使用范围请求,可以只请求 5001~10 000 字节内的资源。执行范围请求时,会用到首部字段 Range 来指定资源的 byte 范围。</p>\n<p>内容协商机制是指客户端和服务器端就响应的资源内容进行交涉,然后提供给客户端最为适合的资源。内容协商会以响应资源的语言、字符集、编码方式等作为判断的基准。</p>\n<h2 id=\"第-4-章-返回结果的-HTTP-状态码\"><a href=\"#第-4-章-返回结果的-HTTP-状态码\" class=\"headerlink\" title=\"第 4 章 返回结果的 HTTP 状态码\"></a>第 4 章 返回结果的 HTTP 状态码</h2><p><img src=\"https://i.loli.net/2019/05/19/5ce0aec183a6b62272.png\" alt=\"\"></p>\n<div class=\"table-container\">\n<table>\n<thead>\n<tr>\n<th style=\"text-align:center\"></th>\n<th style=\"text-align:center\"></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td style=\"text-align:center\">200 OK</td>\n<td style=\"text-align:center\">从客户端发来的请求在服务器端被正常处理了</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">204 No Content</td>\n<td style=\"text-align:center\">服务器接收的请求已成功处理,但在返回的响应报文中不含实体的主体部分。</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">206 Partial Content</td>\n<td style=\"text-align:center\">客户端进行了范围请求,而服务器成功执行了这部分的 GET 请求</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">301 Moved Permanently</td>\n<td style=\"text-align:center\">请求的资源已被分配了新的 URI</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">302 Found</td>\n<td style=\"text-align:center\">临时性重定向(不用更新书签)</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">303 See Other</td>\n<td style=\"text-align:center\">303 状态码和 302 有着相同的功能,但 303 状态码明确表示客户端应当采用 GET 方法获取资源</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">307 Temporary Redirect</td>\n<td style=\"text-align:center\">与 302 Found 有着相同的含义</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">400 Bad Request</td>\n<td style=\"text-align:center\">请求报文中存在语法错误</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">401 Unauthorized</td>\n<td style=\"text-align:center\">发送的请求需要有通过 HTTP 认证(BASIC 认证、DIGEST 认证)的认证信息</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">403 Forbidden</td>\n<td style=\"text-align:center\">对请求资源的访问被服务器拒绝了</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">404 Not Found</td>\n<td style=\"text-align:center\">服务器上无法找到请求的资源</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">500 Internal Server Error</td>\n<td style=\"text-align:center\">服务器端在执行请求时发生了错误</td>\n</tr>\n<tr>\n<td style=\"text-align:center\">503 Service Unavailable</td>\n<td style=\"text-align:center\">服务器暂时处于超负载或正在进行停机维护,现在无法处理请求</td>\n</tr>\n</tbody>\n</table>\n</div>\n<h2 id=\"第-5-章-与-HTTP-协作的-Web-服务器\"><a href=\"#第-5-章-与-HTTP-协作的-Web-服务器\" class=\"headerlink\" title=\"第 5 章 与 HTTP 协作的 Web 服务器\"></a>第 5 章 与 HTTP 协作的 Web 服务器</h2><p>代理是一种有转发功能的应用程序,它扮演了位于服务器和客户端“中间人”的角色,接收由客户端发送的请求并转发给服务器,同时也接收服务器返回的响应并转发给客户端。</p>\n<p>网关的工作机制和代理十分相似。而网关能使通信线路上的服务器提供非 HTTP 协议服务</p>\n<p>隧道可按要求建立起一条与其他服务器的通信线路,届时使用 SSL 等加密手段进行通信。隧道的目的是确保客户端能与服务器进行安全的通信。</p>\n<h2 id=\"第-6-章-HTTP-首部\"><a href=\"#第-6-章-HTTP-首部\" class=\"headerlink\" title=\"第 6 章 HTTP 首部\"></a>第 6 章 HTTP 首部</h2><p>User-Agent 用于传达浏览器的种类。</p>\n<p>实体首部字段是包含在请求报文和响应报文中的实体部分所使用的首部,用于补充内容的更新时间等与实体相关的信息。</p>\n<h2 id=\"第-7-章-确保-Web-安全的-HTTPS\"><a href=\"#第-7-章-确保-Web-安全的-HTTPS\" class=\"headerlink\" title=\"第 7 章 确保 Web 安全的 HTTPS\"></a>第 7 章 确保 Web 安全的 HTTPS</h2><p>HTTP 主要有这些不足,例举如下。</p>\n<ul>\n<li>通信使用明文(不加密),内容可能会被窃听</li>\n<li>不验证通信方的身份,因此有可能遭遇伪装</li>\n<li>无法证明报文的完整性,所以有可能已遭篡改</li>\n</ul>\n<p>与 SSL 组合使用的 HTTP 被称为 HTTPS(HTTP Secure,超文本传输安全协议)或 HTTP over SSL。</p>\n<p>HTTP+ 加密 + 认证 + 完整性保护 = HTTPS</p>\n<p>HTTPS 采用共享密钥加密和公开密钥加密两者并用的混合加密机制。</p>\n<h2 id=\"第-8-章-确认访问用户身份的认证\"><a href=\"#第-8-章-确认访问用户身份的认证\" class=\"headerlink\" title=\"第 8 章 确认访问用户身份的认证\"></a>第 8 章 确认访问用户身份的认证</h2><p>BASIC 认证</p>\n<p>当请求的资源需要 BASIC 认证时,服务器会随状态码 401 Authorization Required;接收到状态码 401 的客户端为了通过 BASIC 认证,需要将用户 ID 及密码经过 Base64 编码处理发送给服务器;接收到包含首部字段 Authorization 请求的服务器,会对认证信息的正确性进行验证。如验证通过,则返回一条包含 Request-URI 资源的响应。</p>\n<p>DIGEST 认证</p>\n<p>质询响应方式是指,一开始一方会先发送认证要求给另一方,接着使用从另一方那接收到的质询码计算生成响应码。最后将响应码返回给对方进行认证的方式。</p>\n<p>SSL 客户端认证</p>\n<p>为达到 SSL 客户端认证的目的,需要事先将客户端证书分发给客户端,且客户端必须安装此证书。</p>\n<p>基于表单验证</p>\n<p>我们会使用 Cookie 来管理 Session,以弥补 HTTP 协议中不存在的状态管理功能。</p>\n<h2 id=\"第-9-章-基于-HTTP-的功能追加协议\"><a href=\"#第-9-章-基于-HTTP-的功能追加协议\" class=\"headerlink\" title=\"第 9 章 基于 HTTP 的功能追加协议\"></a>第 9 章 基于 HTTP 的功能追加协议</h2><p>Google 在 2010 年发布了 SPDY(取自 SPeeDY,发音同 speedy),其开发目标旨在解决 HTTP 的性能瓶颈,缩短 Web 页面的加载时间(50%)。</p>\n<p>Ajax 局部刷新。</p>\n<p><img src=\"https://i.loli.net/2019/05/19/5ce0d6461175b27815.png\" alt=\"\"></p>\n<p>使用 SPDY 后,HTTP 协议额外获得以下功能。</p>\n<ul>\n<li>多路复用流。通过单一的 TCP 连接,可以无限制处理多个 HTTP 请求。</li>\n<li>赋予请求优先级</li>\n<li>压缩 HTTP 首部</li>\n<li>推送功能。支持服务器主动向客户端推送数据的功能。</li>\n<li>服务器提示功能。服务器可以主动提示客户端请求所需的资源。</li>\n</ul>\n<p>WebSocket,即 Web 浏览器与 Web 服务器之间全双工通信标准。</p>\n<p>下面我们列举一下 WebSocket 协议的主要特点。</p>\n<ul>\n<li>推送功能</li>\n<li>减少通信量。首部信息小,一次握手。</li>\n</ul>\n<p>HTTP / 2.0</p>\n<p><img src=\"https://i.loli.net/2019/05/19/5ce0dc40a17cc81791.png\" alt=\"\"></p>\n<p>WebDAV(Web-based Distributed Authoring and Versioning,基于万维网的分布式创作和版本控制)是一个可对 Web 服务器上的内容直接进行文件复制、编辑等操作的分布式文件系统。</p>\n<h2 id=\"第-10-章-构建-Web-内容的技术\"><a href=\"#第-10-章-构建-Web-内容的技术\" class=\"headerlink\" title=\"第 10 章 构建 Web 内容的技术\"></a>第 10 章 构建 Web 内容的技术</h2><p>RSS(简易信息聚合,也叫聚合内容)和 Atom 都是发布新闻或博客日志等更新信息文档的格式的总称。两者都用到了 XML。</p>\n<p>JSON(JavaScript Object Notation)是一种以 <strong>JavaScript</strong>(ECMAScript)的对象表示法为基础的轻量级数据标记语言。</p>\n<h2 id=\"第-11-章-Web-的攻击技术\"><a href=\"#第-11-章-Web-的攻击技术\" class=\"headerlink\" title=\"第 11 章 Web 的攻击技术\"></a>第 11 章 Web 的攻击技术</h2><p>HTTP 不具备必要的安全功能,自行设计导致问题。</p>\n<p>主动攻击(active attack)是指攻击者通过直接访问 Web 应用,把攻击代码传入的攻击模式。主动攻击模式里具有代表性的攻击是 SQL 注入攻击和 OS 命令注入攻击。</p>\n<p>被动攻击(passive attack)是指利用圈套策略执行攻击代码的攻击模式。被动攻击模式中具有代表性的攻击是跨站脚本攻击和跨站点请求伪造。</p>\n<p>跨站脚本攻击(Cross-Site Scripting,XSS)是指通过存在安全漏洞的Web 网站注册用户的浏览器内运行非法的 HTML 标签或 JavaScript 进行的一种攻击。</p>\n<p>SQL 注入(SQL Injection)是指针对 Web 应用使用的数据库,通过运行非法的 SQL 而产生的攻击。</p>\n<p>OS 命令注入攻击(OS Command Injection)是指通过 Web 应用,执行非法的操作系统命令达到攻击的目的。只要在能调用 Shell 函数的地方就有存在被攻击的风险。</p>\n<p>HTTP 首部注入攻击(HTTP Header Injection)是指攻击者通过在响应首部字段内插入换行,添加任意响应首部或主体的一种攻击。</p>\n<p>邮件首部注入(Mail Header Injection)是指 Web 应用中的邮件发送功能,攻击者通过向邮件首部 To 或 Subject 内任意添加非法内容发起的攻击。</p>\n<p>目录遍历(Directory Traversal)攻击是指对本无意公开的文件目录,通过非法截断其目录路径后,达成访问目的的一种攻击</p>"}],"PostAsset":[],"PostCategory":[{"post_id":"ck1ffo5oo00032oqlu3ji16lc","category_id":"ck1ffo5oy00062oql3q0g6s98","_id":"ck1ffo5p400092oql07p7i4of"}],"PostTag":[{"post_id":"ck1ffo5oo00032oqlu3ji16lc","tag_id":"ck1ffo5p100072oqld1hi60ei","_id":"ck1ffo5p300082oql9w4wivjz"}],"Tag":[{"name":"HTTP","_id":"ck1ffo5p100072oqld1hi60ei"}]}}