{"action":"created","issue":{"url":"https://api.github.com/repos/koajs/koa/issues/438","labels_url":"https://api.github.com/repos/koajs/koa/issues/438/labels{/name}","comments_url":"https://api.github.com/repos/koajs/koa/issues/438/comments","events_url":"https://api.github.com/repos/koajs/koa/issues/438/events","html_url":"https://github.com/koajs/koa/pull/438","id":71656898,"number":438,"title":"make sure helpers return strict string","user":{"login":"dead-horse","id":985607,"avatar_url":"https://avatars.githubusercontent.com/u/985607?v=3","gravatar_id":"","url":"https://api.github.com/users/dead-horse","html_url":"https://github.com/dead-horse","followers_url":"https://api.github.com/users/dead-horse/followers","following_url":"https://api.github.com/users/dead-horse/following{/other_user}","gists_url":"https://api.github.com/users/dead-horse/gists{/gist_id}","starred_url":"https://api.github.com/users/dead-horse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dead-horse/subscriptions","organizations_url":"https://api.github.com/users/dead-horse/orgs","repos_url":"https://api.github.com/users/dead-horse/repos","events_url":"https://api.github.com/users/dead-horse/events{/privacy}","received_events_url":"https://api.github.com/users/dead-horse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-28T17:50:27Z","updated_at":"2015-04-28T18:18:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/koajs/koa/pulls/438","html_url":"https://github.com/koajs/koa/pull/438","diff_url":"https://github.com/koajs/koa/pull/438.diff","patch_url":"https://github.com/koajs/koa/pull/438.patch"},"body":"not sure if this is look good to everyone, but it reduce lots of code like:\r\n\r\n```\r\n(this.charset || '').toLowerCase();\r\n(this.get('ua') || '').indexOf('chrome');\r\n(this.type || '').match(/\\/^text/);\r\n```\r\n\r\nand this won't break your app if your are using `!this.get('referer')` etc."},"comment":{"url":"https://api.github.com/repos/koajs/koa/issues/comments/97160937","html_url":"https://github.com/koajs/koa/pull/438#issuecomment-97160937","issue_url":"https://api.github.com/repos/koajs/koa/issues/438","id":97160937,"user":{"login":"targos","id":2352663,"avatar_url":"https://avatars.githubusercontent.com/u/2352663?v=3","gravatar_id":"","url":"https://api.github.com/users/targos","html_url":"https://github.com/targos","followers_url":"https://api.github.com/users/targos/followers","following_url":"https://api.github.com/users/targos/following{/other_user}","gists_url":"https://api.github.com/users/targos/gists{/gist_id}","starred_url":"https://api.github.com/users/targos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/targos/subscriptions","organizations_url":"https://api.github.com/users/targos/orgs","repos_url":"https://api.github.com/users/targos/repos","events_url":"https://api.github.com/users/targos/events{/privacy}","received_events_url":"https://api.github.com/users/targos/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T18:18:44Z","updated_at":"2015-04-28T18:18:44Z","body":"LGTM but I think there are missing `return '';` in request.get(field)"}}