{"action":"created","comment":{"url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/pulls/comments/191065935","pull_request_review_id":123573313,"id":191065935,"diff_hunk":"@@ -1,2 +1,41 @@\n-Coming soon...\n+# Getting Started with HTTP\n \n+HTTP ([vapor/http](https://github.com/vapor/http)) 是一个基于SwiftNIO构建的非阻塞事件驱动的HTTP库。它使SwiftNIO的HTTP处理程序轻松工作，并提供更高级别的功能，如媒体类型，客户端升级，流式体等等。创建HTTP回显服务器只需要几行代码。\n+\n+> 提示\n+>\n+>    如果你使用Vapor，大部分的HTTP API都已被囊括在它的便捷方法里。通常，与您交互的唯一HTTP类型是Request或Response的http属性。通常，与您交互的唯一`http`类型是`Request` or `Response`的属性。\n+\n+## Vapor\n+\n+Vapor包含了此包并默认导出， 当你导入 `Vapor` ，你可以使用所有的 `HTTP` APIs。\n+\n+```swift\n+import Vapor\n+```\n+\n+## Standalone\n+\n+HTTP包是轻量级的纯Swift，只依赖于SwiftNIO。这意味着它可以在任何Swift项目中使用HTTP框架 - 甚至是没使用Vapor的项目。","path":"http/getting_started.md","position":20,"original_position":20,"commit_id":"dae9eb41f4baa9047e9c165b1233d57d0ad5f7fc","original_commit_id":"dae9eb41f4baa9047e9c165b1233d57d0ad5f7fc","user":{"login":"CaryZheng","id":1549860,"avatar_url":"https://avatars2.githubusercontent.com/u/1549860?v=4","gravatar_id":"","url":"https://api.github.com/users/CaryZheng","html_url":"https://github.com/CaryZheng","followers_url":"https://api.github.com/users/CaryZheng/followers","following_url":"https://api.github.com/users/CaryZheng/following{/other_user}","gists_url":"https://api.github.com/users/CaryZheng/gists{/gist_id}","starred_url":"https://api.github.com/users/CaryZheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaryZheng/subscriptions","organizations_url":"https://api.github.com/users/CaryZheng/orgs","repos_url":"https://api.github.com/users/CaryZheng/repos","events_url":"https://api.github.com/users/CaryZheng/events{/privacy}","received_events_url":"https://api.github.com/users/CaryZheng/received_events","type":"User","site_admin":false},"body":"建议翻译：\r\nHTTP包是轻量级的纯Swift，只依赖于SwiftNIO。 \r\n-> \r\nHTTP包是轻量级的，纯Swift实现，并且只依赖于 SwiftNIO 。","created_at":"2018-05-27T06:17:55Z","updated_at":"2018-05-27T06:58:31Z","html_url":"https://github.com/CaryZheng/Vapor-Chinese/pull/17#discussion_r191065935","pull_request_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/pulls/17","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/pulls/comments/191065935"},"html":{"href":"https://github.com/CaryZheng/Vapor-Chinese/pull/17#discussion_r191065935"},"pull_request":{"href":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/pulls/17","id":190772331,"html_url":"https://github.com/CaryZheng/Vapor-Chinese/pull/17","diff_url":"https://github.com/CaryZheng/Vapor-Chinese/pull/17.diff","patch_url":"https://github.com/CaryZheng/Vapor-Chinese/pull/17.patch","issue_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/issues/17","number":17,"state":"open","locked":false,"title":"add chapter - HTTP","user":{"login":"ACChe","id":1592763,"avatar_url":"https://avatars2.githubusercontent.com/u/1592763?v=4","gravatar_id":"","url":"https://api.github.com/users/ACChe","html_url":"https://github.com/ACChe","followers_url":"https://api.github.com/users/ACChe/followers","following_url":"https://api.github.com/users/ACChe/following{/other_user}","gists_url":"https://api.github.com/users/ACChe/gists{/gist_id}","starred_url":"https://api.github.com/users/ACChe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ACChe/subscriptions","organizations_url":"https://api.github.com/users/ACChe/orgs","repos_url":"https://api.github.com/users/ACChe/repos","events_url":"https://api.github.com/users/ACChe/events{/privacy}","received_events_url":"https://api.github.com/users/ACChe/received_events","type":"User","site_admin":false},"body":"Please help to verify first.","created_at":"2018-05-27T06:04:23Z","updated_at":"2018-05-27T06:58:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"55ad20953a6af829eca07d4acaf319662e4a36cf","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/pulls/17/commits","review_comments_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/pulls/17/comments","review_comment_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/issues/17/comments","statuses_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/statuses/dae9eb41f4baa9047e9c165b1233d57d0ad5f7fc","head":{"label":"ACChe:master","ref":"master","sha":"dae9eb41f4baa9047e9c165b1233d57d0ad5f7fc","user":{"login":"ACChe","id":1592763,"avatar_url":"https://avatars2.githubusercontent.com/u/1592763?v=4","gravatar_id":"","url":"https://api.github.com/users/ACChe","html_url":"https://github.com/ACChe","followers_url":"https://api.github.com/users/ACChe/followers","following_url":"https://api.github.com/users/ACChe/following{/other_user}","gists_url":"https://api.github.com/users/ACChe/gists{/gist_id}","starred_url":"https://api.github.com/users/ACChe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ACChe/subscriptions","organizations_url":"https://api.github.com/users/ACChe/orgs","repos_url":"https://api.github.com/users/ACChe/repos","events_url":"https://api.github.com/users/ACChe/events{/privacy}","received_events_url":"https://api.github.com/users/ACChe/received_events","type":"User","site_admin":false},"repo":{"id":132483299,"name":"Vapor-Chinese","full_name":"ACChe/Vapor-Chinese","owner":{"login":"ACChe","id":1592763,"avatar_url":"https://avatars2.githubusercontent.com/u/1592763?v=4","gravatar_id":"","url":"https://api.github.com/users/ACChe","html_url":"https://github.com/ACChe","followers_url":"https://api.github.com/users/ACChe/followers","following_url":"https://api.github.com/users/ACChe/following{/other_user}","gists_url":"https://api.github.com/users/ACChe/gists{/gist_id}","starred_url":"https://api.github.com/users/ACChe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ACChe/subscriptions","organizations_url":"https://api.github.com/users/ACChe/orgs","repos_url":"https://api.github.com/users/ACChe/repos","events_url":"https://api.github.com/users/ACChe/events{/privacy}","received_events_url":"https://api.github.com/users/ACChe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ACChe/Vapor-Chinese","description":"Vapor Chinese doc","fork":true,"url":"https://api.github.com/repos/ACChe/Vapor-Chinese","forks_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/forks","keys_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/teams","hooks_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/hooks","issue_events_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/issues/events{/number}","events_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/events","assignees_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/assignees{/user}","branches_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/branches{/branch}","tags_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/tags","blobs_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/git/refs{/sha}","trees_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/statuses/{sha}","languages_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/languages","stargazers_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/stargazers","contributors_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/contributors","subscribers_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/subscribers","subscription_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/subscription","commits_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/commits{/sha}","git_commits_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/git/commits{/sha}","comments_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/comments{/number}","issue_comment_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/issues/comments{/number}","contents_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/contents/{+path}","compare_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/merges","archive_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/downloads","issues_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/issues{/number}","pulls_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/pulls{/number}","milestones_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/milestones{/number}","notifications_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/labels{/name}","releases_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/releases{/id}","deployments_url":"https://api.github.com/repos/ACChe/Vapor-Chinese/deployments","created_at":"2018-05-07T15:50:31Z","updated_at":"2018-05-27T06:03:21Z","pushed_at":"2018-05-27T06:03:20Z","git_url":"git://github.com/ACChe/Vapor-Chinese.git","ssh_url":"git@github.com:ACChe/Vapor-Chinese.git","clone_url":"https://github.com/ACChe/Vapor-Chinese.git","svn_url":"https://github.com/ACChe/Vapor-Chinese","homepage":"","size":2062,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CaryZheng:master","ref":"master","sha":"4e77496fae697593fd039a14f3b6ded5667041c1","user":{"login":"CaryZheng","id":1549860,"avatar_url":"https://avatars2.githubusercontent.com/u/1549860?v=4","gravatar_id":"","url":"https://api.github.com/users/CaryZheng","html_url":"https://github.com/CaryZheng","followers_url":"https://api.github.com/users/CaryZheng/followers","following_url":"https://api.github.com/users/CaryZheng/following{/other_user}","gists_url":"https://api.github.com/users/CaryZheng/gists{/gist_id}","starred_url":"https://api.github.com/users/CaryZheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaryZheng/subscriptions","organizations_url":"https://api.github.com/users/CaryZheng/orgs","repos_url":"https://api.github.com/users/CaryZheng/repos","events_url":"https://api.github.com/users/CaryZheng/events{/privacy}","received_events_url":"https://api.github.com/users/CaryZheng/received_events","type":"User","site_admin":false},"repo":{"id":59819504,"name":"Vapor-Chinese","full_name":"CaryZheng/Vapor-Chinese","owner":{"login":"CaryZheng","id":1549860,"avatar_url":"https://avatars2.githubusercontent.com/u/1549860?v=4","gravatar_id":"","url":"https://api.github.com/users/CaryZheng","html_url":"https://github.com/CaryZheng","followers_url":"https://api.github.com/users/CaryZheng/followers","following_url":"https://api.github.com/users/CaryZheng/following{/other_user}","gists_url":"https://api.github.com/users/CaryZheng/gists{/gist_id}","starred_url":"https://api.github.com/users/CaryZheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaryZheng/subscriptions","organizations_url":"https://api.github.com/users/CaryZheng/orgs","repos_url":"https://api.github.com/users/CaryZheng/repos","events_url":"https://api.github.com/users/CaryZheng/events{/privacy}","received_events_url":"https://api.github.com/users/CaryZheng/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CaryZheng/Vapor-Chinese","description":"Vapor Chinese doc","fork":false,"url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese","forks_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/forks","keys_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/teams","hooks_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/hooks","issue_events_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/issues/events{/number}","events_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/events","assignees_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/assignees{/user}","branches_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/branches{/branch}","tags_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/tags","blobs_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/git/refs{/sha}","trees_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/statuses/{sha}","languages_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/languages","stargazers_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/stargazers","contributors_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/contributors","subscribers_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/subscribers","subscription_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/subscription","commits_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/commits{/sha}","git_commits_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/git/commits{/sha}","comments_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/comments{/number}","issue_comment_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/issues/comments{/number}","contents_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/contents/{+path}","compare_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/merges","archive_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/downloads","issues_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/issues{/number}","pulls_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/pulls{/number}","milestones_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/milestones{/number}","notifications_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/labels{/name}","releases_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/releases{/id}","deployments_url":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/deployments","created_at":"2016-05-27T08:42:05Z","updated_at":"2018-05-26T10:43:42Z","pushed_at":"2018-05-27T06:04:24Z","git_url":"git://github.com/CaryZheng/Vapor-Chinese.git","ssh_url":"git@github.com:CaryZheng/Vapor-Chinese.git","clone_url":"https://github.com/CaryZheng/Vapor-Chinese.git","svn_url":"https://github.com/CaryZheng/Vapor-Chinese","homepage":"","size":2059,"stargazers_count":39,"watchers_count":39,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":10,"open_issues":2,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/pulls/17"},"html":{"href":"https://github.com/CaryZheng/Vapor-Chinese/pull/17"},"issue":{"href":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/issues/17"},"comments":{"href":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/CaryZheng/Vapor-Chinese/statuses/dae9eb41f4baa9047e9c165b1233d57d0ad5f7fc"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"CaryZheng"}}