{"action":"opened","number":258,"pull_request":{"url":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/258","id":42227117,"html_url":"https://github.com/nickel-org/nickel.rs/pull/258","diff_url":"https://github.com/nickel-org/nickel.rs/pull/258.diff","patch_url":"https://github.com/nickel-org/nickel.rs/pull/258.patch","issue_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/258","number":258,"state":"open","locked":false,"title":"feat(render): improve ergonomics of send_file","user":{"login":"cburgdorf","id":521109,"avatar_url":"https://avatars.githubusercontent.com/u/521109?v=3","gravatar_id":"","url":"https://api.github.com/users/cburgdorf","html_url":"https://github.com/cburgdorf","followers_url":"https://api.github.com/users/cburgdorf/followers","following_url":"https://api.github.com/users/cburgdorf/following{/other_user}","gists_url":"https://api.github.com/users/cburgdorf/gists{/gist_id}","starred_url":"https://api.github.com/users/cburgdorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cburgdorf/subscriptions","organizations_url":"https://api.github.com/users/cburgdorf/orgs","repos_url":"https://api.github.com/users/cburgdorf/repos","events_url":"https://api.github.com/users/cburgdorf/events{/privacy}","received_events_url":"https://api.github.com/users/cburgdorf/received_events","type":"User","site_admin":false},"body":"Relates to #257\r\n\r\n@Ryman @SimonPersson ","created_at":"2015-08-12T10:56:46Z","updated_at":"2015-08-12T10:56:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/258/commits","review_comments_url":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/258/comments","review_comment_url":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/258/comments","statuses_url":"https://api.github.com/repos/nickel-org/nickel.rs/statuses/55d97f4e2736714ce9a90760981342c240b5f182","head":{"label":"cburgdorf:send_file_ergonomics","ref":"send_file_ergonomics","sha":"55d97f4e2736714ce9a90760981342c240b5f182","user":{"login":"cburgdorf","id":521109,"avatar_url":"https://avatars.githubusercontent.com/u/521109?v=3","gravatar_id":"","url":"https://api.github.com/users/cburgdorf","html_url":"https://github.com/cburgdorf","followers_url":"https://api.github.com/users/cburgdorf/followers","following_url":"https://api.github.com/users/cburgdorf/following{/other_user}","gists_url":"https://api.github.com/users/cburgdorf/gists{/gist_id}","starred_url":"https://api.github.com/users/cburgdorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cburgdorf/subscriptions","organizations_url":"https://api.github.com/users/cburgdorf/orgs","repos_url":"https://api.github.com/users/cburgdorf/repos","events_url":"https://api.github.com/users/cburgdorf/events{/privacy}","received_events_url":"https://api.github.com/users/cburgdorf/received_events","type":"User","site_admin":false},"repo":{"id":40593527,"name":"nickel.rs","full_name":"cburgdorf/nickel.rs","owner":{"login":"cburgdorf","id":521109,"avatar_url":"https://avatars.githubusercontent.com/u/521109?v=3","gravatar_id":"","url":"https://api.github.com/users/cburgdorf","html_url":"https://github.com/cburgdorf","followers_url":"https://api.github.com/users/cburgdorf/followers","following_url":"https://api.github.com/users/cburgdorf/following{/other_user}","gists_url":"https://api.github.com/users/cburgdorf/gists{/gist_id}","starred_url":"https://api.github.com/users/cburgdorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cburgdorf/subscriptions","organizations_url":"https://api.github.com/users/cburgdorf/orgs","repos_url":"https://api.github.com/users/cburgdorf/repos","events_url":"https://api.github.com/users/cburgdorf/events{/privacy}","received_events_url":"https://api.github.com/users/cburgdorf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cburgdorf/nickel.rs","description":"An expressjs inspired web framework for Rust","fork":true,"url":"https://api.github.com/repos/cburgdorf/nickel.rs","forks_url":"https://api.github.com/repos/cburgdorf/nickel.rs/forks","keys_url":"https://api.github.com/repos/cburgdorf/nickel.rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cburgdorf/nickel.rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cburgdorf/nickel.rs/teams","hooks_url":"https://api.github.com/repos/cburgdorf/nickel.rs/hooks","issue_events_url":"https://api.github.com/repos/cburgdorf/nickel.rs/issues/events{/number}","events_url":"https://api.github.com/repos/cburgdorf/nickel.rs/events","assignees_url":"https://api.github.com/repos/cburgdorf/nickel.rs/assignees{/user}","branches_url":"https://api.github.com/repos/cburgdorf/nickel.rs/branches{/branch}","tags_url":"https://api.github.com/repos/cburgdorf/nickel.rs/tags","blobs_url":"https://api.github.com/repos/cburgdorf/nickel.rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cburgdorf/nickel.rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cburgdorf/nickel.rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/cburgdorf/nickel.rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cburgdorf/nickel.rs/statuses/{sha}","languages_url":"https://api.github.com/repos/cburgdorf/nickel.rs/languages","stargazers_url":"https://api.github.com/repos/cburgdorf/nickel.rs/stargazers","contributors_url":"https://api.github.com/repos/cburgdorf/nickel.rs/contributors","subscribers_url":"https://api.github.com/repos/cburgdorf/nickel.rs/subscribers","subscription_url":"https://api.github.com/repos/cburgdorf/nickel.rs/subscription","commits_url":"https://api.github.com/repos/cburgdorf/nickel.rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/cburgdorf/nickel.rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/cburgdorf/nickel.rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/cburgdorf/nickel.rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/cburgdorf/nickel.rs/contents/{+path}","compare_url":"https://api.github.com/repos/cburgdorf/nickel.rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cburgdorf/nickel.rs/merges","archive_url":"https://api.github.com/repos/cburgdorf/nickel.rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cburgdorf/nickel.rs/downloads","issues_url":"https://api.github.com/repos/cburgdorf/nickel.rs/issues{/number}","pulls_url":"https://api.github.com/repos/cburgdorf/nickel.rs/pulls{/number}","milestones_url":"https://api.github.com/repos/cburgdorf/nickel.rs/milestones{/number}","notifications_url":"https://api.github.com/repos/cburgdorf/nickel.rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cburgdorf/nickel.rs/labels{/name}","releases_url":"https://api.github.com/repos/cburgdorf/nickel.rs/releases{/id}","created_at":"2015-08-12T09:55:14Z","updated_at":"2015-08-12T09:55:14Z","pushed_at":"2015-08-12T10:55:42Z","git_url":"git://github.com/cburgdorf/nickel.rs.git","ssh_url":"git@github.com:cburgdorf/nickel.rs.git","clone_url":"https://github.com/cburgdorf/nickel.rs.git","svn_url":"https://github.com/cburgdorf/nickel.rs","homepage":"http://nickel.rs","size":5806,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nickel-org:master","ref":"master","sha":"2011b7009bb4ab7f00d8461aff4e4937438975a2","user":{"login":"nickel-org","id":7941614,"avatar_url":"https://avatars.githubusercontent.com/u/7941614?v=3","gravatar_id":"","url":"https://api.github.com/users/nickel-org","html_url":"https://github.com/nickel-org","followers_url":"https://api.github.com/users/nickel-org/followers","following_url":"https://api.github.com/users/nickel-org/following{/other_user}","gists_url":"https://api.github.com/users/nickel-org/gists{/gist_id}","starred_url":"https://api.github.com/users/nickel-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickel-org/subscriptions","organizations_url":"https://api.github.com/users/nickel-org/orgs","repos_url":"https://api.github.com/users/nickel-org/repos","events_url":"https://api.github.com/users/nickel-org/events{/privacy}","received_events_url":"https://api.github.com/users/nickel-org/received_events","type":"Organization","site_admin":false},"repo":{"id":20462243,"name":"nickel.rs","full_name":"nickel-org/nickel.rs","owner":{"login":"nickel-org","id":7941614,"avatar_url":"https://avatars.githubusercontent.com/u/7941614?v=3","gravatar_id":"","url":"https://api.github.com/users/nickel-org","html_url":"https://github.com/nickel-org","followers_url":"https://api.github.com/users/nickel-org/followers","following_url":"https://api.github.com/users/nickel-org/following{/other_user}","gists_url":"https://api.github.com/users/nickel-org/gists{/gist_id}","starred_url":"https://api.github.com/users/nickel-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickel-org/subscriptions","organizations_url":"https://api.github.com/users/nickel-org/orgs","repos_url":"https://api.github.com/users/nickel-org/repos","events_url":"https://api.github.com/users/nickel-org/events{/privacy}","received_events_url":"https://api.github.com/users/nickel-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nickel-org/nickel.rs","description":"An expressjs inspired web framework for Rust","fork":false,"url":"https://api.github.com/repos/nickel-org/nickel.rs","forks_url":"https://api.github.com/repos/nickel-org/nickel.rs/forks","keys_url":"https://api.github.com/repos/nickel-org/nickel.rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickel-org/nickel.rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickel-org/nickel.rs/teams","hooks_url":"https://api.github.com/repos/nickel-org/nickel.rs/hooks","issue_events_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/events{/number}","events_url":"https://api.github.com/repos/nickel-org/nickel.rs/events","assignees_url":"https://api.github.com/repos/nickel-org/nickel.rs/assignees{/user}","branches_url":"https://api.github.com/repos/nickel-org/nickel.rs/branches{/branch}","tags_url":"https://api.github.com/repos/nickel-org/nickel.rs/tags","blobs_url":"https://api.github.com/repos/nickel-org/nickel.rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickel-org/nickel.rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickel-org/nickel.rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickel-org/nickel.rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickel-org/nickel.rs/statuses/{sha}","languages_url":"https://api.github.com/repos/nickel-org/nickel.rs/languages","stargazers_url":"https://api.github.com/repos/nickel-org/nickel.rs/stargazers","contributors_url":"https://api.github.com/repos/nickel-org/nickel.rs/contributors","subscribers_url":"https://api.github.com/repos/nickel-org/nickel.rs/subscribers","subscription_url":"https://api.github.com/repos/nickel-org/nickel.rs/subscription","commits_url":"https://api.github.com/repos/nickel-org/nickel.rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickel-org/nickel.rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickel-org/nickel.rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/nickel-org/nickel.rs/contents/{+path}","compare_url":"https://api.github.com/repos/nickel-org/nickel.rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickel-org/nickel.rs/merges","archive_url":"https://api.github.com/repos/nickel-org/nickel.rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickel-org/nickel.rs/downloads","issues_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues{/number}","pulls_url":"https://api.github.com/repos/nickel-org/nickel.rs/pulls{/number}","milestones_url":"https://api.github.com/repos/nickel-org/nickel.rs/milestones{/number}","notifications_url":"https://api.github.com/repos/nickel-org/nickel.rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickel-org/nickel.rs/labels{/name}","releases_url":"https://api.github.com/repos/nickel-org/nickel.rs/releases{/id}","created_at":"2014-06-03T22:36:19Z","updated_at":"2015-08-12T07:33:43Z","pushed_at":"2015-08-12T10:04:35Z","git_url":"git://github.com/nickel-org/nickel.rs.git","ssh_url":"git@github.com:nickel-org/nickel.rs.git","clone_url":"https://github.com/nickel-org/nickel.rs.git","svn_url":"https://github.com/nickel-org/nickel.rs","homepage":"http://nickel.rs","size":5806,"stargazers_count":1004,"watchers_count":1004,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":76,"mirror_url":null,"open_issues_count":32,"forks":76,"open_issues":32,"watchers":1004,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/258"},"html":{"href":"https://github.com/nickel-org/nickel.rs/pull/258"},"issue":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/issues/258"},"comments":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/issues/258/comments"},"review_comments":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/258/comments"},"review_comment":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/258/commits"},"statuses":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/statuses/55d97f4e2736714ce9a90760981342c240b5f182"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}