{"action":"closed","number":3861,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/3861","id":30359618,"html_url":"https://github.com/ceph/ceph/pull/3861","diff_url":"https://github.com/ceph/ceph/pull/3861.diff","patch_url":"https://github.com/ceph/ceph/pull/3861.patch","issue_url":"https://api.github.com/repos/ceph/ceph/issues/3861","number":3861,"state":"closed","locked":false,"title":"rgw: do not pre-fetch data for HEAD requests","user":{"login":"guangyy","id":891065,"avatar_url":"https://avatars.githubusercontent.com/u/891065?v=3","gravatar_id":"","url":"https://api.github.com/users/guangyy","html_url":"https://github.com/guangyy","followers_url":"https://api.github.com/users/guangyy/followers","following_url":"https://api.github.com/users/guangyy/following{/other_user}","gists_url":"https://api.github.com/users/guangyy/gists{/gist_id}","starred_url":"https://api.github.com/users/guangyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guangyy/subscriptions","organizations_url":"https://api.github.com/users/guangyy/orgs","repos_url":"https://api.github.com/users/guangyy/repos","events_url":"https://api.github.com/users/guangyy/events{/privacy}","received_events_url":"https://api.github.com/users/guangyy/received_events","type":"User","site_admin":false},"body":"For HEAD request, as only the meta-data are concerned, it is unnecessary to read the content of the chunk. This could improve the performance for GET, and save resource of the cluster.\r\n\r\nTested locally for HEAD request.\r\n\r\nFixes: 11001\r\n\r\nSigned-off-by: Guang Yang <yguang@yahoo-inc.com>","created_at":"2015-03-03T09:56:41Z","updated_at":"2015-03-05T01:01:24Z","closed_at":"2015-03-05T01:01:24Z","merged_at":"2015-03-05T01:01:24Z","merge_commit_sha":"d916a81d1811120dd0b63e7e58f0f6c3a5726581","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ceph/ceph/pulls/3861/commits","review_comments_url":"https://api.github.com/repos/ceph/ceph/pulls/3861/comments","review_comment_url":"https://api.github.com/repos/ceph/ceph/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/3861/comments","statuses_url":"https://api.github.com/repos/ceph/ceph/statuses/e32da3e7c880eaf7cb84d1c078447b28e1d8052b","head":{"label":"guangyy:wip-11001","ref":"wip-11001","sha":"e32da3e7c880eaf7cb84d1c078447b28e1d8052b","user":{"login":"guangyy","id":891065,"avatar_url":"https://avatars.githubusercontent.com/u/891065?v=3","gravatar_id":"","url":"https://api.github.com/users/guangyy","html_url":"https://github.com/guangyy","followers_url":"https://api.github.com/users/guangyy/followers","following_url":"https://api.github.com/users/guangyy/following{/other_user}","gists_url":"https://api.github.com/users/guangyy/gists{/gist_id}","starred_url":"https://api.github.com/users/guangyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guangyy/subscriptions","organizations_url":"https://api.github.com/users/guangyy/orgs","repos_url":"https://api.github.com/users/guangyy/repos","events_url":"https://api.github.com/users/guangyy/events{/privacy}","received_events_url":"https://api.github.com/users/guangyy/received_events","type":"User","site_admin":false},"repo":{"id":17047421,"name":"ceph","full_name":"guangyy/ceph","owner":{"login":"guangyy","id":891065,"avatar_url":"https://avatars.githubusercontent.com/u/891065?v=3","gravatar_id":"","url":"https://api.github.com/users/guangyy","html_url":"https://github.com/guangyy","followers_url":"https://api.github.com/users/guangyy/followers","following_url":"https://api.github.com/users/guangyy/following{/other_user}","gists_url":"https://api.github.com/users/guangyy/gists{/gist_id}","starred_url":"https://api.github.com/users/guangyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guangyy/subscriptions","organizations_url":"https://api.github.com/users/guangyy/orgs","repos_url":"https://api.github.com/users/guangyy/repos","events_url":"https://api.github.com/users/guangyy/events{/privacy}","received_events_url":"https://api.github.com/users/guangyy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/guangyy/ceph","description":"Ceph is a distributed object, block, and file storage platform ","fork":true,"url":"https://api.github.com/repos/guangyy/ceph","forks_url":"https://api.github.com/repos/guangyy/ceph/forks","keys_url":"https://api.github.com/repos/guangyy/ceph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guangyy/ceph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guangyy/ceph/teams","hooks_url":"https://api.github.com/repos/guangyy/ceph/hooks","issue_events_url":"https://api.github.com/repos/guangyy/ceph/issues/events{/number}","events_url":"https://api.github.com/repos/guangyy/ceph/events","assignees_url":"https://api.github.com/repos/guangyy/ceph/assignees{/user}","branches_url":"https://api.github.com/repos/guangyy/ceph/branches{/branch}","tags_url":"https://api.github.com/repos/guangyy/ceph/tags","blobs_url":"https://api.github.com/repos/guangyy/ceph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guangyy/ceph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guangyy/ceph/git/refs{/sha}","trees_url":"https://api.github.com/repos/guangyy/ceph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guangyy/ceph/statuses/{sha}","languages_url":"https://api.github.com/repos/guangyy/ceph/languages","stargazers_url":"https://api.github.com/repos/guangyy/ceph/stargazers","contributors_url":"https://api.github.com/repos/guangyy/ceph/contributors","subscribers_url":"https://api.github.com/repos/guangyy/ceph/subscribers","subscription_url":"https://api.github.com/repos/guangyy/ceph/subscription","commits_url":"https://api.github.com/repos/guangyy/ceph/commits{/sha}","git_commits_url":"https://api.github.com/repos/guangyy/ceph/git/commits{/sha}","comments_url":"https://api.github.com/repos/guangyy/ceph/comments{/number}","issue_comment_url":"https://api.github.com/repos/guangyy/ceph/issues/comments{/number}","contents_url":"https://api.github.com/repos/guangyy/ceph/contents/{+path}","compare_url":"https://api.github.com/repos/guangyy/ceph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guangyy/ceph/merges","archive_url":"https://api.github.com/repos/guangyy/ceph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guangyy/ceph/downloads","issues_url":"https://api.github.com/repos/guangyy/ceph/issues{/number}","pulls_url":"https://api.github.com/repos/guangyy/ceph/pulls{/number}","milestones_url":"https://api.github.com/repos/guangyy/ceph/milestones{/number}","notifications_url":"https://api.github.com/repos/guangyy/ceph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guangyy/ceph/labels{/name}","releases_url":"https://api.github.com/repos/guangyy/ceph/releases{/id}","created_at":"2014-02-21T06:19:21Z","updated_at":"2014-06-23T09:54:13Z","pushed_at":"2015-03-05T00:58:57Z","git_url":"git://github.com/guangyy/ceph.git","ssh_url":"git@github.com:guangyy/ceph.git","clone_url":"https://github.com/guangyy/ceph.git","svn_url":"https://github.com/guangyy/ceph","homepage":"http://ceph.com","size":100375,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ceph:master","ref":"master","sha":"8f2b9372a71f827652b93bca2f77e60423232202","user":{"login":"ceph","id":1015767,"avatar_url":"https://avatars.githubusercontent.com/u/1015767?v=3","gravatar_id":"","url":"https://api.github.com/users/ceph","html_url":"https://github.com/ceph","followers_url":"https://api.github.com/users/ceph/followers","following_url":"https://api.github.com/users/ceph/following{/other_user}","gists_url":"https://api.github.com/users/ceph/gists{/gist_id}","starred_url":"https://api.github.com/users/ceph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceph/subscriptions","organizations_url":"https://api.github.com/users/ceph/orgs","repos_url":"https://api.github.com/users/ceph/repos","events_url":"https://api.github.com/users/ceph/events{/privacy}","received_events_url":"https://api.github.com/users/ceph/received_events","type":"Organization","site_admin":false},"repo":{"id":2310495,"name":"ceph","full_name":"ceph/ceph","owner":{"login":"ceph","id":1015767,"avatar_url":"https://avatars.githubusercontent.com/u/1015767?v=3","gravatar_id":"","url":"https://api.github.com/users/ceph","html_url":"https://github.com/ceph","followers_url":"https://api.github.com/users/ceph/followers","following_url":"https://api.github.com/users/ceph/following{/other_user}","gists_url":"https://api.github.com/users/ceph/gists{/gist_id}","starred_url":"https://api.github.com/users/ceph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceph/subscriptions","organizations_url":"https://api.github.com/users/ceph/orgs","repos_url":"https://api.github.com/users/ceph/repos","events_url":"https://api.github.com/users/ceph/events{/privacy}","received_events_url":"https://api.github.com/users/ceph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ceph/ceph","description":"Ceph is a distributed object, block, and file storage platform ","fork":false,"url":"https://api.github.com/repos/ceph/ceph","forks_url":"https://api.github.com/repos/ceph/ceph/forks","keys_url":"https://api.github.com/repos/ceph/ceph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ceph/ceph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ceph/ceph/teams","hooks_url":"https://api.github.com/repos/ceph/ceph/hooks","issue_events_url":"https://api.github.com/repos/ceph/ceph/issues/events{/number}","events_url":"https://api.github.com/repos/ceph/ceph/events","assignees_url":"https://api.github.com/repos/ceph/ceph/assignees{/user}","branches_url":"https://api.github.com/repos/ceph/ceph/branches{/branch}","tags_url":"https://api.github.com/repos/ceph/ceph/tags","blobs_url":"https://api.github.com/repos/ceph/ceph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ceph/ceph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ceph/ceph/git/refs{/sha}","trees_url":"https://api.github.com/repos/ceph/ceph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ceph/ceph/statuses/{sha}","languages_url":"https://api.github.com/repos/ceph/ceph/languages","stargazers_url":"https://api.github.com/repos/ceph/ceph/stargazers","contributors_url":"https://api.github.com/repos/ceph/ceph/contributors","subscribers_url":"https://api.github.com/repos/ceph/ceph/subscribers","subscription_url":"https://api.github.com/repos/ceph/ceph/subscription","commits_url":"https://api.github.com/repos/ceph/ceph/commits{/sha}","git_commits_url":"https://api.github.com/repos/ceph/ceph/git/commits{/sha}","comments_url":"https://api.github.com/repos/ceph/ceph/comments{/number}","issue_comment_url":"https://api.github.com/repos/ceph/ceph/issues/comments{/number}","contents_url":"https://api.github.com/repos/ceph/ceph/contents/{+path}","compare_url":"https://api.github.com/repos/ceph/ceph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ceph/ceph/merges","archive_url":"https://api.github.com/repos/ceph/ceph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ceph/ceph/downloads","issues_url":"https://api.github.com/repos/ceph/ceph/issues{/number}","pulls_url":"https://api.github.com/repos/ceph/ceph/pulls{/number}","milestones_url":"https://api.github.com/repos/ceph/ceph/milestones{/number}","notifications_url":"https://api.github.com/repos/ceph/ceph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ceph/ceph/labels{/name}","releases_url":"https://api.github.com/repos/ceph/ceph/releases{/id}","created_at":"2011-09-01T21:41:26Z","updated_at":"2015-03-05T00:11:56Z","pushed_at":"2015-03-05T01:01:24Z","git_url":"git://github.com/ceph/ceph.git","ssh_url":"git@github.com:ceph/ceph.git","clone_url":"https://github.com/ceph/ceph.git","svn_url":"https://github.com/ceph/ceph","homepage":"http://ceph.com","size":373277,"stargazers_count":1158,"watchers_count":1158,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":605,"mirror_url":null,"open_issues_count":95,"forks":605,"open_issues":95,"watchers":1158,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ceph/ceph/pulls/3861"},"html":{"href":"https://github.com/ceph/ceph/pull/3861"},"issue":{"href":"https://api.github.com/repos/ceph/ceph/issues/3861"},"comments":{"href":"https://api.github.com/repos/ceph/ceph/issues/3861/comments"},"review_comments":{"href":"https://api.github.com/repos/ceph/ceph/pulls/3861/comments"},"review_comment":{"href":"https://api.github.com/repos/ceph/ceph/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ceph/ceph/pulls/3861/commits"},"statuses":{"href":"https://api.github.com/repos/ceph/ceph/statuses/e32da3e7c880eaf7cb84d1c078447b28e1d8052b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"yehudasa","id":1036377,"avatar_url":"https://avatars.githubusercontent.com/u/1036377?v=3","gravatar_id":"","url":"https://api.github.com/users/yehudasa","html_url":"https://github.com/yehudasa","followers_url":"https://api.github.com/users/yehudasa/followers","following_url":"https://api.github.com/users/yehudasa/following{/other_user}","gists_url":"https://api.github.com/users/yehudasa/gists{/gist_id}","starred_url":"https://api.github.com/users/yehudasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yehudasa/subscriptions","organizations_url":"https://api.github.com/users/yehudasa/orgs","repos_url":"https://api.github.com/users/yehudasa/repos","events_url":"https://api.github.com/users/yehudasa/events{/privacy}","received_events_url":"https://api.github.com/users/yehudasa/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":1,"additions":3,"deletions":2,"changed_files":2}}