{"action":"opened","number":65,"pull_request":{"url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/pulls/65","id":93290252,"html_url":"https://github.com/exceptionless/Exceptionless.JavaScript/pull/65","diff_url":"https://github.com/exceptionless/Exceptionless.JavaScript/pull/65.diff","patch_url":"https://github.com/exceptionless/Exceptionless.JavaScript/pull/65.patch","issue_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/issues/65","number":65,"state":"open","locked":false,"title":"Update 'Content-Length' value for fix characters missing","user":{"login":"WindWen","id":12590228,"avatar_url":"https://avatars.githubusercontent.com/u/12590228?v=3","gravatar_id":"","url":"https://api.github.com/users/WindWen","html_url":"https://github.com/WindWen","followers_url":"https://api.github.com/users/WindWen/followers","following_url":"https://api.github.com/users/WindWen/following{/other_user}","gists_url":"https://api.github.com/users/WindWen/gists{/gist_id}","starred_url":"https://api.github.com/users/WindWen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WindWen/subscriptions","organizations_url":"https://api.github.com/users/WindWen/orgs","repos_url":"https://api.github.com/users/WindWen/repos","events_url":"https://api.github.com/users/WindWen/events{/privacy}","received_events_url":"https://api.github.com/users/WindWen/received_events","type":"User","site_admin":false},"body":"In other languages (Chinese , Japanese .... )\r\nOne word maybe use two or three bytes ...\r\n\r\n```javascript\r\nvar a = \"我爱你\";\r\nconsole.log(a.length); //3\r\nconsole.log(new Buffer(a).length); //9\r\n```\r\nSo you should use new Buffer for set \"Content-Length\" and this problem will be resolve","created_at":"2016-11-11T07:26:35Z","updated_at":"2016-11-11T07:26:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/pulls/65/commits","review_comments_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/pulls/65/comments","review_comment_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/issues/65/comments","statuses_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/statuses/c858a9e7fad35d345c1f943f592f867b2a93da12","head":{"label":"WindWen:master","ref":"master","sha":"c858a9e7fad35d345c1f943f592f867b2a93da12","user":{"login":"WindWen","id":12590228,"avatar_url":"https://avatars.githubusercontent.com/u/12590228?v=3","gravatar_id":"","url":"https://api.github.com/users/WindWen","html_url":"https://github.com/WindWen","followers_url":"https://api.github.com/users/WindWen/followers","following_url":"https://api.github.com/users/WindWen/following{/other_user}","gists_url":"https://api.github.com/users/WindWen/gists{/gist_id}","starred_url":"https://api.github.com/users/WindWen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WindWen/subscriptions","organizations_url":"https://api.github.com/users/WindWen/orgs","repos_url":"https://api.github.com/users/WindWen/repos","events_url":"https://api.github.com/users/WindWen/events{/privacy}","received_events_url":"https://api.github.com/users/WindWen/received_events","type":"User","site_admin":false},"repo":{"id":73455356,"name":"Exceptionless.JavaScript","full_name":"WindWen/Exceptionless.JavaScript","owner":{"login":"WindWen","id":12590228,"avatar_url":"https://avatars.githubusercontent.com/u/12590228?v=3","gravatar_id":"","url":"https://api.github.com/users/WindWen","html_url":"https://github.com/WindWen","followers_url":"https://api.github.com/users/WindWen/followers","following_url":"https://api.github.com/users/WindWen/following{/other_user}","gists_url":"https://api.github.com/users/WindWen/gists{/gist_id}","starred_url":"https://api.github.com/users/WindWen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WindWen/subscriptions","organizations_url":"https://api.github.com/users/WindWen/orgs","repos_url":"https://api.github.com/users/WindWen/repos","events_url":"https://api.github.com/users/WindWen/events{/privacy}","received_events_url":"https://api.github.com/users/WindWen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/WindWen/Exceptionless.JavaScript","description":"Exceptionless JavaScript client","fork":true,"url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript","forks_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/forks","keys_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/teams","hooks_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/hooks","issue_events_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/issues/events{/number}","events_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/events","assignees_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/assignees{/user}","branches_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/branches{/branch}","tags_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/tags","blobs_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/git/refs{/sha}","trees_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/statuses/{sha}","languages_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/languages","stargazers_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/stargazers","contributors_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/contributors","subscribers_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/subscribers","subscription_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/subscription","commits_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/commits{/sha}","git_commits_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/git/commits{/sha}","comments_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/comments{/number}","issue_comment_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/issues/comments{/number}","contents_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/contents/{+path}","compare_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/merges","archive_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/downloads","issues_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/issues{/number}","pulls_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/pulls{/number}","milestones_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/milestones{/number}","notifications_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/labels{/name}","releases_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/releases{/id}","deployments_url":"https://api.github.com/repos/WindWen/Exceptionless.JavaScript/deployments","created_at":"2016-11-11T07:22:15Z","updated_at":"2016-11-11T07:22:17Z","pushed_at":"2016-11-11T07:25:32Z","git_url":"git://github.com/WindWen/Exceptionless.JavaScript.git","ssh_url":"git@github.com:WindWen/Exceptionless.JavaScript.git","clone_url":"https://github.com/WindWen/Exceptionless.JavaScript.git","svn_url":"https://github.com/WindWen/Exceptionless.JavaScript","homepage":"http://exceptionless.com","size":3673,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"exceptionless:master","ref":"master","sha":"fd69ca853accbb75dd1256224a9784061687a029","user":{"login":"exceptionless","id":5912469,"avatar_url":"https://avatars.githubusercontent.com/u/5912469?v=3","gravatar_id":"","url":"https://api.github.com/users/exceptionless","html_url":"https://github.com/exceptionless","followers_url":"https://api.github.com/users/exceptionless/followers","following_url":"https://api.github.com/users/exceptionless/following{/other_user}","gists_url":"https://api.github.com/users/exceptionless/gists{/gist_id}","starred_url":"https://api.github.com/users/exceptionless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exceptionless/subscriptions","organizations_url":"https://api.github.com/users/exceptionless/orgs","repos_url":"https://api.github.com/users/exceptionless/repos","events_url":"https://api.github.com/users/exceptionless/events{/privacy}","received_events_url":"https://api.github.com/users/exceptionless/received_events","type":"Organization","site_admin":false},"repo":{"id":29558878,"name":"Exceptionless.JavaScript","full_name":"exceptionless/Exceptionless.JavaScript","owner":{"login":"exceptionless","id":5912469,"avatar_url":"https://avatars.githubusercontent.com/u/5912469?v=3","gravatar_id":"","url":"https://api.github.com/users/exceptionless","html_url":"https://github.com/exceptionless","followers_url":"https://api.github.com/users/exceptionless/followers","following_url":"https://api.github.com/users/exceptionless/following{/other_user}","gists_url":"https://api.github.com/users/exceptionless/gists{/gist_id}","starred_url":"https://api.github.com/users/exceptionless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exceptionless/subscriptions","organizations_url":"https://api.github.com/users/exceptionless/orgs","repos_url":"https://api.github.com/users/exceptionless/repos","events_url":"https://api.github.com/users/exceptionless/events{/privacy}","received_events_url":"https://api.github.com/users/exceptionless/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exceptionless/Exceptionless.JavaScript","description":"Exceptionless JavaScript client","fork":false,"url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript","forks_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/forks","keys_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/teams","hooks_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/hooks","issue_events_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/issues/events{/number}","events_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/events","assignees_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/assignees{/user}","branches_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/branches{/branch}","tags_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/tags","blobs_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/git/refs{/sha}","trees_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/statuses/{sha}","languages_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/languages","stargazers_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/stargazers","contributors_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/contributors","subscribers_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/subscribers","subscription_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/subscription","commits_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/commits{/sha}","git_commits_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/git/commits{/sha}","comments_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/comments{/number}","issue_comment_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/issues/comments{/number}","contents_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/contents/{+path}","compare_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/merges","archive_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/downloads","issues_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/issues{/number}","pulls_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/pulls{/number}","milestones_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/milestones{/number}","notifications_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/labels{/name}","releases_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/releases{/id}","deployments_url":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/deployments","created_at":"2015-01-20T22:38:28Z","updated_at":"2016-10-26T14:59:40Z","pushed_at":"2016-11-11T07:26:35Z","git_url":"git://github.com/exceptionless/Exceptionless.JavaScript.git","ssh_url":"git@github.com:exceptionless/Exceptionless.JavaScript.git","clone_url":"https://github.com/exceptionless/Exceptionless.JavaScript.git","svn_url":"https://github.com/exceptionless/Exceptionless.JavaScript","homepage":"http://exceptionless.com","size":3673,"stargazers_count":21,"watchers_count":21,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":15,"forks":10,"open_issues":15,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/pulls/65"},"html":{"href":"https://github.com/exceptionless/Exceptionless.JavaScript/pull/65"},"issue":{"href":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/issues/65"},"comments":{"href":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/exceptionless/Exceptionless.JavaScript/statuses/c858a9e7fad35d345c1f943f592f867b2a93da12"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"WindWen"}}