{"action":"closed","number":293,"pull_request":{"url":"https://api.github.com/repos/iron/iron/pulls/293","id":29510918,"html_url":"https://github.com/iron/iron/pull/293","diff_url":"https://github.com/iron/iron/pull/293.diff","patch_url":"https://github.com/iron/iron/pull/293.patch","issue_url":"https://api.github.com/repos/iron/iron/issues/293","number":293,"state":"closed","locked":false,"title":"Added ContentLength header in Modifier implementation for File","user":{"login":"aleksandrpak","id":6939323,"avatar_url":"https://avatars.githubusercontent.com/u/6939323?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksandrpak","html_url":"https://github.com/aleksandrpak","followers_url":"https://api.github.com/users/aleksandrpak/followers","following_url":"https://api.github.com/users/aleksandrpak/following{/other_user}","gists_url":"https://api.github.com/users/aleksandrpak/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksandrpak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksandrpak/subscriptions","organizations_url":"https://api.github.com/users/aleksandrpak/orgs","repos_url":"https://api.github.com/users/aleksandrpak/repos","events_url":"https://api.github.com/users/aleksandrpak/events{/privacy}","received_events_url":"https://api.github.com/users/aleksandrpak/received_events","type":"User","site_admin":false},"body":"Added Modifier impl for u64 to set ContentLength header. Also added ContentLength header in impl Modifier for File.\r\n\r\nNot sure about panicking if failed to retrieve stat(). According to [this](http://man7.org/linux/man-pages/man2/stat.2.html#ERRORS) it is possible to get error even if file is valid.\r\n\r\nAlso not sure about having modifier for u64. Actually the main thing I need is to have ContentLength header for file in [iron/static](https://github.com/iron/static). ","created_at":"2015-02-18T09:25:03Z","updated_at":"2015-02-18T10:58:32Z","closed_at":"2015-02-18T10:58:32Z","merged_at":null,"merge_commit_sha":"21efd765a6f6658c7e6fcd882601da983e731b73","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iron/iron/pulls/293/commits","review_comments_url":"https://api.github.com/repos/iron/iron/pulls/293/comments","review_comment_url":"https://api.github.com/repos/iron/iron/pulls/comments/{number}","comments_url":"https://api.github.com/repos/iron/iron/issues/293/comments","statuses_url":"https://api.github.com/repos/iron/iron/statuses/ecb3f423bb3b75b8177e9d5ed844fa18bc159743","head":{"label":"aleksandrpak:feat/content-length-modifier","ref":"feat/content-length-modifier","sha":"ecb3f423bb3b75b8177e9d5ed844fa18bc159743","user":{"login":"aleksandrpak","id":6939323,"avatar_url":"https://avatars.githubusercontent.com/u/6939323?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksandrpak","html_url":"https://github.com/aleksandrpak","followers_url":"https://api.github.com/users/aleksandrpak/followers","following_url":"https://api.github.com/users/aleksandrpak/following{/other_user}","gists_url":"https://api.github.com/users/aleksandrpak/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksandrpak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksandrpak/subscriptions","organizations_url":"https://api.github.com/users/aleksandrpak/orgs","repos_url":"https://api.github.com/users/aleksandrpak/repos","events_url":"https://api.github.com/users/aleksandrpak/events{/privacy}","received_events_url":"https://api.github.com/users/aleksandrpak/received_events","type":"User","site_admin":false},"repo":{"id":28915146,"name":"iron","full_name":"aleksandrpak/iron","owner":{"login":"aleksandrpak","id":6939323,"avatar_url":"https://avatars.githubusercontent.com/u/6939323?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksandrpak","html_url":"https://github.com/aleksandrpak","followers_url":"https://api.github.com/users/aleksandrpak/followers","following_url":"https://api.github.com/users/aleksandrpak/following{/other_user}","gists_url":"https://api.github.com/users/aleksandrpak/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksandrpak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksandrpak/subscriptions","organizations_url":"https://api.github.com/users/aleksandrpak/orgs","repos_url":"https://api.github.com/users/aleksandrpak/repos","events_url":"https://api.github.com/users/aleksandrpak/events{/privacy}","received_events_url":"https://api.github.com/users/aleksandrpak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aleksandrpak/iron","description":"Middleware-Oriented, Concurrency Focused Web Development in Rust.","fork":true,"url":"https://api.github.com/repos/aleksandrpak/iron","forks_url":"https://api.github.com/repos/aleksandrpak/iron/forks","keys_url":"https://api.github.com/repos/aleksandrpak/iron/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aleksandrpak/iron/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aleksandrpak/iron/teams","hooks_url":"https://api.github.com/repos/aleksandrpak/iron/hooks","issue_events_url":"https://api.github.com/repos/aleksandrpak/iron/issues/events{/number}","events_url":"https://api.github.com/repos/aleksandrpak/iron/events","assignees_url":"https://api.github.com/repos/aleksandrpak/iron/assignees{/user}","branches_url":"https://api.github.com/repos/aleksandrpak/iron/branches{/branch}","tags_url":"https://api.github.com/repos/aleksandrpak/iron/tags","blobs_url":"https://api.github.com/repos/aleksandrpak/iron/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aleksandrpak/iron/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aleksandrpak/iron/git/refs{/sha}","trees_url":"https://api.github.com/repos/aleksandrpak/iron/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aleksandrpak/iron/statuses/{sha}","languages_url":"https://api.github.com/repos/aleksandrpak/iron/languages","stargazers_url":"https://api.github.com/repos/aleksandrpak/iron/stargazers","contributors_url":"https://api.github.com/repos/aleksandrpak/iron/contributors","subscribers_url":"https://api.github.com/repos/aleksandrpak/iron/subscribers","subscription_url":"https://api.github.com/repos/aleksandrpak/iron/subscription","commits_url":"https://api.github.com/repos/aleksandrpak/iron/commits{/sha}","git_commits_url":"https://api.github.com/repos/aleksandrpak/iron/git/commits{/sha}","comments_url":"https://api.github.com/repos/aleksandrpak/iron/comments{/number}","issue_comment_url":"https://api.github.com/repos/aleksandrpak/iron/issues/comments/{number}","contents_url":"https://api.github.com/repos/aleksandrpak/iron/contents/{+path}","compare_url":"https://api.github.com/repos/aleksandrpak/iron/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aleksandrpak/iron/merges","archive_url":"https://api.github.com/repos/aleksandrpak/iron/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aleksandrpak/iron/downloads","issues_url":"https://api.github.com/repos/aleksandrpak/iron/issues{/number}","pulls_url":"https://api.github.com/repos/aleksandrpak/iron/pulls{/number}","milestones_url":"https://api.github.com/repos/aleksandrpak/iron/milestones{/number}","notifications_url":"https://api.github.com/repos/aleksandrpak/iron/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aleksandrpak/iron/labels{/name}","releases_url":"https://api.github.com/repos/aleksandrpak/iron/releases{/id}","created_at":"2015-01-07T13:16:32Z","updated_at":"2015-02-18T09:14:13Z","pushed_at":"2015-02-18T10:56:43Z","git_url":"git://github.com/aleksandrpak/iron.git","ssh_url":"git@github.com:aleksandrpak/iron.git","clone_url":"https://github.com/aleksandrpak/iron.git","svn_url":"https://github.com/aleksandrpak/iron","homepage":"ironframework.io","size":1669,"stargazers_count":0,"watchers_count":0,"language":"Rust","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":"iron:master","ref":"master","sha":"6c15f214869815dde9bf7540a6fc18d966516c41","user":{"login":"iron","id":7853871,"avatar_url":"https://avatars.githubusercontent.com/u/7853871?v=3","gravatar_id":"","url":"https://api.github.com/users/iron","html_url":"https://github.com/iron","followers_url":"https://api.github.com/users/iron/followers","following_url":"https://api.github.com/users/iron/following{/other_user}","gists_url":"https://api.github.com/users/iron/gists{/gist_id}","starred_url":"https://api.github.com/users/iron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iron/subscriptions","organizations_url":"https://api.github.com/users/iron/orgs","repos_url":"https://api.github.com/users/iron/repos","events_url":"https://api.github.com/users/iron/events{/privacy}","received_events_url":"https://api.github.com/users/iron/received_events","type":"Organization","site_admin":false},"repo":{"id":20702627,"name":"iron","full_name":"iron/iron","owner":{"login":"iron","id":7853871,"avatar_url":"https://avatars.githubusercontent.com/u/7853871?v=3","gravatar_id":"","url":"https://api.github.com/users/iron","html_url":"https://github.com/iron","followers_url":"https://api.github.com/users/iron/followers","following_url":"https://api.github.com/users/iron/following{/other_user}","gists_url":"https://api.github.com/users/iron/gists{/gist_id}","starred_url":"https://api.github.com/users/iron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iron/subscriptions","organizations_url":"https://api.github.com/users/iron/orgs","repos_url":"https://api.github.com/users/iron/repos","events_url":"https://api.github.com/users/iron/events{/privacy}","received_events_url":"https://api.github.com/users/iron/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iron/iron","description":"Middleware-Oriented, Concurrency Focused Web Development in Rust.","fork":false,"url":"https://api.github.com/repos/iron/iron","forks_url":"https://api.github.com/repos/iron/iron/forks","keys_url":"https://api.github.com/repos/iron/iron/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iron/iron/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iron/iron/teams","hooks_url":"https://api.github.com/repos/iron/iron/hooks","issue_events_url":"https://api.github.com/repos/iron/iron/issues/events{/number}","events_url":"https://api.github.com/repos/iron/iron/events","assignees_url":"https://api.github.com/repos/iron/iron/assignees{/user}","branches_url":"https://api.github.com/repos/iron/iron/branches{/branch}","tags_url":"https://api.github.com/repos/iron/iron/tags","blobs_url":"https://api.github.com/repos/iron/iron/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iron/iron/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iron/iron/git/refs{/sha}","trees_url":"https://api.github.com/repos/iron/iron/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iron/iron/statuses/{sha}","languages_url":"https://api.github.com/repos/iron/iron/languages","stargazers_url":"https://api.github.com/repos/iron/iron/stargazers","contributors_url":"https://api.github.com/repos/iron/iron/contributors","subscribers_url":"https://api.github.com/repos/iron/iron/subscribers","subscription_url":"https://api.github.com/repos/iron/iron/subscription","commits_url":"https://api.github.com/repos/iron/iron/commits{/sha}","git_commits_url":"https://api.github.com/repos/iron/iron/git/commits{/sha}","comments_url":"https://api.github.com/repos/iron/iron/comments{/number}","issue_comment_url":"https://api.github.com/repos/iron/iron/issues/comments/{number}","contents_url":"https://api.github.com/repos/iron/iron/contents/{+path}","compare_url":"https://api.github.com/repos/iron/iron/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iron/iron/merges","archive_url":"https://api.github.com/repos/iron/iron/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iron/iron/downloads","issues_url":"https://api.github.com/repos/iron/iron/issues{/number}","pulls_url":"https://api.github.com/repos/iron/iron/pulls{/number}","milestones_url":"https://api.github.com/repos/iron/iron/milestones{/number}","notifications_url":"https://api.github.com/repos/iron/iron/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iron/iron/labels{/name}","releases_url":"https://api.github.com/repos/iron/iron/releases{/id}","created_at":"2014-06-10T21:37:29Z","updated_at":"2015-02-18T10:40:12Z","pushed_at":"2015-02-06T08:14:09Z","git_url":"git://github.com/iron/iron.git","ssh_url":"git@github.com:iron/iron.git","clone_url":"https://github.com/iron/iron.git","svn_url":"https://github.com/iron/iron","homepage":"ironframework.io","size":2265,"stargazers_count":1159,"watchers_count":1159,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":15,"forks":66,"open_issues":15,"watchers":1159,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iron/iron/pulls/293"},"html":{"href":"https://github.com/iron/iron/pull/293"},"issue":{"href":"https://api.github.com/repos/iron/iron/issues/293"},"comments":{"href":"https://api.github.com/repos/iron/iron/issues/293/comments"},"review_comments":{"href":"https://api.github.com/repos/iron/iron/pulls/293/comments"},"review_comment":{"href":"https://api.github.com/repos/iron/iron/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/iron/iron/pulls/293/commits"},"statuses":{"href":"https://api.github.com/repos/iron/iron/statuses/ecb3f423bb3b75b8177e9d5ed844fa18bc159743"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":3,"review_comments":0,"commits":2,"additions":5,"deletions":0,"changed_files":1}}