{"action":"created","comment":{"url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/comments/80717322","pull_request_review_id":1754151,"id":80717322,"diff_hunk":"@@ -612,7 +612,12 @@ private void addLinkAndOptionsHttpHeaders() {\n             servletResponse.addHeader(\"Accept-Patch\", contentTypeSPARQLUpdate);\n \n         } else if (resource() instanceof Container) {\n-            options = \"MOVE,COPY,DELETE,POST,HEAD,GET,PUT,PATCH,OPTIONS\";\n+            // MOVE/COPY/DELETE operations are not available on a RepositoryRoot resource\n+            if (resource().getContainer() == null) {\n+                options = \"POST,HEAD,GET,PUT,PATCH,OPTIONS\";","path":"fcrepo-http-api/src/main/java/org/fcrepo/http/api/FedoraLdp.java","position":7,"original_position":7,"commit_id":"77d62200c3f5f5fee7d10071447437974aa67cd6","original_commit_id":"77d62200c3f5f5fee7d10071447437974aa67cd6","user":{"login":"acoburn","id":1265883,"avatar_url":"https://avatars.githubusercontent.com/u/1265883?v=3","gravatar_id":"","url":"https://api.github.com/users/acoburn","html_url":"https://github.com/acoburn","followers_url":"https://api.github.com/users/acoburn/followers","following_url":"https://api.github.com/users/acoburn/following{/other_user}","gists_url":"https://api.github.com/users/acoburn/gists{/gist_id}","starred_url":"https://api.github.com/users/acoburn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acoburn/subscriptions","organizations_url":"https://api.github.com/users/acoburn/orgs","repos_url":"https://api.github.com/users/acoburn/repos","events_url":"https://api.github.com/users/acoburn/events{/privacy}","received_events_url":"https://api.github.com/users/acoburn/received_events","type":"User","site_admin":false},"body":"so, it _is_ possible to COPY the repository root, but the results are strange. Since it's not strictly prohibited, I'll add the COPY operation back to the allowable methods.","created_at":"2016-09-27T15:15:50Z","updated_at":"2016-09-27T15:15:50Z","html_url":"https://github.com/fcrepo4/fcrepo4/pull/1104#discussion_r80717322","pull_request_url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1104","_links":{"self":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/comments/80717322"},"html":{"href":"https://github.com/fcrepo4/fcrepo4/pull/1104#discussion_r80717322"},"pull_request":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1104"}}},"pull_request":{"url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1104","id":86809796,"html_url":"https://github.com/fcrepo4/fcrepo4/pull/1104","diff_url":"https://github.com/fcrepo4/fcrepo4/pull/1104.diff","patch_url":"https://github.com/fcrepo4/fcrepo4/pull/1104.patch","issue_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1104","number":1104,"state":"open","locked":false,"title":"Remove DELETE/MOVE methods from Allow header on RepositoryRoot resources","user":{"login":"acoburn","id":1265883,"avatar_url":"https://avatars.githubusercontent.com/u/1265883?v=3","gravatar_id":"","url":"https://api.github.com/users/acoburn","html_url":"https://github.com/acoburn","followers_url":"https://api.github.com/users/acoburn/followers","following_url":"https://api.github.com/users/acoburn/following{/other_user}","gists_url":"https://api.github.com/users/acoburn/gists{/gist_id}","starred_url":"https://api.github.com/users/acoburn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acoburn/subscriptions","organizations_url":"https://api.github.com/users/acoburn/orgs","repos_url":"https://api.github.com/users/acoburn/repos","events_url":"https://api.github.com/users/acoburn/events{/privacy}","received_events_url":"https://api.github.com/users/acoburn/received_events","type":"User","site_admin":false},"body":"Resolves: https://jira.duraspace.org/browse/FCREPO-2158","created_at":"2016-09-26T20:09:07Z","updated_at":"2016-09-27T15:15:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8cc3fe53429a8e1e5d6ae99495a5c4ee5f092ee1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1104/commits","review_comments_url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1104/comments","review_comment_url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1104/comments","statuses_url":"https://api.github.com/repos/fcrepo4/fcrepo4/statuses/77d62200c3f5f5fee7d10071447437974aa67cd6","head":{"label":"acoburn:fcrepo-2158","ref":"fcrepo-2158","sha":"77d62200c3f5f5fee7d10071447437974aa67cd6","user":{"login":"acoburn","id":1265883,"avatar_url":"https://avatars.githubusercontent.com/u/1265883?v=3","gravatar_id":"","url":"https://api.github.com/users/acoburn","html_url":"https://github.com/acoburn","followers_url":"https://api.github.com/users/acoburn/followers","following_url":"https://api.github.com/users/acoburn/following{/other_user}","gists_url":"https://api.github.com/users/acoburn/gists{/gist_id}","starred_url":"https://api.github.com/users/acoburn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acoburn/subscriptions","organizations_url":"https://api.github.com/users/acoburn/orgs","repos_url":"https://api.github.com/users/acoburn/repos","events_url":"https://api.github.com/users/acoburn/events{/privacy}","received_events_url":"https://api.github.com/users/acoburn/received_events","type":"User","site_admin":false},"repo":{"id":25535833,"name":"fcrepo4","full_name":"acoburn/fcrepo4","owner":{"login":"acoburn","id":1265883,"avatar_url":"https://avatars.githubusercontent.com/u/1265883?v=3","gravatar_id":"","url":"https://api.github.com/users/acoburn","html_url":"https://github.com/acoburn","followers_url":"https://api.github.com/users/acoburn/followers","following_url":"https://api.github.com/users/acoburn/following{/other_user}","gists_url":"https://api.github.com/users/acoburn/gists{/gist_id}","starred_url":"https://api.github.com/users/acoburn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acoburn/subscriptions","organizations_url":"https://api.github.com/users/acoburn/orgs","repos_url":"https://api.github.com/users/acoburn/repos","events_url":"https://api.github.com/users/acoburn/events{/privacy}","received_events_url":"https://api.github.com/users/acoburn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/acoburn/fcrepo4","description":"Fedora 4","fork":true,"url":"https://api.github.com/repos/acoburn/fcrepo4","forks_url":"https://api.github.com/repos/acoburn/fcrepo4/forks","keys_url":"https://api.github.com/repos/acoburn/fcrepo4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acoburn/fcrepo4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acoburn/fcrepo4/teams","hooks_url":"https://api.github.com/repos/acoburn/fcrepo4/hooks","issue_events_url":"https://api.github.com/repos/acoburn/fcrepo4/issues/events{/number}","events_url":"https://api.github.com/repos/acoburn/fcrepo4/events","assignees_url":"https://api.github.com/repos/acoburn/fcrepo4/assignees{/user}","branches_url":"https://api.github.com/repos/acoburn/fcrepo4/branches{/branch}","tags_url":"https://api.github.com/repos/acoburn/fcrepo4/tags","blobs_url":"https://api.github.com/repos/acoburn/fcrepo4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acoburn/fcrepo4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acoburn/fcrepo4/git/refs{/sha}","trees_url":"https://api.github.com/repos/acoburn/fcrepo4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acoburn/fcrepo4/statuses/{sha}","languages_url":"https://api.github.com/repos/acoburn/fcrepo4/languages","stargazers_url":"https://api.github.com/repos/acoburn/fcrepo4/stargazers","contributors_url":"https://api.github.com/repos/acoburn/fcrepo4/contributors","subscribers_url":"https://api.github.com/repos/acoburn/fcrepo4/subscribers","subscription_url":"https://api.github.com/repos/acoburn/fcrepo4/subscription","commits_url":"https://api.github.com/repos/acoburn/fcrepo4/commits{/sha}","git_commits_url":"https://api.github.com/repos/acoburn/fcrepo4/git/commits{/sha}","comments_url":"https://api.github.com/repos/acoburn/fcrepo4/comments{/number}","issue_comment_url":"https://api.github.com/repos/acoburn/fcrepo4/issues/comments{/number}","contents_url":"https://api.github.com/repos/acoburn/fcrepo4/contents/{+path}","compare_url":"https://api.github.com/repos/acoburn/fcrepo4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acoburn/fcrepo4/merges","archive_url":"https://api.github.com/repos/acoburn/fcrepo4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acoburn/fcrepo4/downloads","issues_url":"https://api.github.com/repos/acoburn/fcrepo4/issues{/number}","pulls_url":"https://api.github.com/repos/acoburn/fcrepo4/pulls{/number}","milestones_url":"https://api.github.com/repos/acoburn/fcrepo4/milestones{/number}","notifications_url":"https://api.github.com/repos/acoburn/fcrepo4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acoburn/fcrepo4/labels{/name}","releases_url":"https://api.github.com/repos/acoburn/fcrepo4/releases{/id}","deployments_url":"https://api.github.com/repos/acoburn/fcrepo4/deployments","created_at":"2014-10-21T17:27:47Z","updated_at":"2016-03-14T20:05:55Z","pushed_at":"2016-09-27T15:11:45Z","git_url":"git://github.com/acoburn/fcrepo4.git","ssh_url":"git@github.com:acoburn/fcrepo4.git","clone_url":"https://github.com/acoburn/fcrepo4.git","svn_url":"https://github.com/acoburn/fcrepo4","homepage":"http://github.com/fcrepo4/fcrepo4","size":15102,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"fcrepo4:master","ref":"master","sha":"ba8355784054eb2a3f5aea66f1681bafda1d9e9b","user":{"login":"fcrepo4","id":3057565,"avatar_url":"https://avatars.githubusercontent.com/u/3057565?v=3","gravatar_id":"","url":"https://api.github.com/users/fcrepo4","html_url":"https://github.com/fcrepo4","followers_url":"https://api.github.com/users/fcrepo4/followers","following_url":"https://api.github.com/users/fcrepo4/following{/other_user}","gists_url":"https://api.github.com/users/fcrepo4/gists{/gist_id}","starred_url":"https://api.github.com/users/fcrepo4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fcrepo4/subscriptions","organizations_url":"https://api.github.com/users/fcrepo4/orgs","repos_url":"https://api.github.com/users/fcrepo4/repos","events_url":"https://api.github.com/users/fcrepo4/events{/privacy}","received_events_url":"https://api.github.com/users/fcrepo4/received_events","type":"Organization","site_admin":false},"repo":{"id":7992797,"name":"fcrepo4","full_name":"fcrepo4/fcrepo4","owner":{"login":"fcrepo4","id":3057565,"avatar_url":"https://avatars.githubusercontent.com/u/3057565?v=3","gravatar_id":"","url":"https://api.github.com/users/fcrepo4","html_url":"https://github.com/fcrepo4","followers_url":"https://api.github.com/users/fcrepo4/followers","following_url":"https://api.github.com/users/fcrepo4/following{/other_user}","gists_url":"https://api.github.com/users/fcrepo4/gists{/gist_id}","starred_url":"https://api.github.com/users/fcrepo4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fcrepo4/subscriptions","organizations_url":"https://api.github.com/users/fcrepo4/orgs","repos_url":"https://api.github.com/users/fcrepo4/repos","events_url":"https://api.github.com/users/fcrepo4/events{/privacy}","received_events_url":"https://api.github.com/users/fcrepo4/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fcrepo4/fcrepo4","description":"Fedora 4","fork":false,"url":"https://api.github.com/repos/fcrepo4/fcrepo4","forks_url":"https://api.github.com/repos/fcrepo4/fcrepo4/forks","keys_url":"https://api.github.com/repos/fcrepo4/fcrepo4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fcrepo4/fcrepo4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fcrepo4/fcrepo4/teams","hooks_url":"https://api.github.com/repos/fcrepo4/fcrepo4/hooks","issue_events_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/events{/number}","events_url":"https://api.github.com/repos/fcrepo4/fcrepo4/events","assignees_url":"https://api.github.com/repos/fcrepo4/fcrepo4/assignees{/user}","branches_url":"https://api.github.com/repos/fcrepo4/fcrepo4/branches{/branch}","tags_url":"https://api.github.com/repos/fcrepo4/fcrepo4/tags","blobs_url":"https://api.github.com/repos/fcrepo4/fcrepo4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fcrepo4/fcrepo4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fcrepo4/fcrepo4/git/refs{/sha}","trees_url":"https://api.github.com/repos/fcrepo4/fcrepo4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fcrepo4/fcrepo4/statuses/{sha}","languages_url":"https://api.github.com/repos/fcrepo4/fcrepo4/languages","stargazers_url":"https://api.github.com/repos/fcrepo4/fcrepo4/stargazers","contributors_url":"https://api.github.com/repos/fcrepo4/fcrepo4/contributors","subscribers_url":"https://api.github.com/repos/fcrepo4/fcrepo4/subscribers","subscription_url":"https://api.github.com/repos/fcrepo4/fcrepo4/subscription","commits_url":"https://api.github.com/repos/fcrepo4/fcrepo4/commits{/sha}","git_commits_url":"https://api.github.com/repos/fcrepo4/fcrepo4/git/commits{/sha}","comments_url":"https://api.github.com/repos/fcrepo4/fcrepo4/comments{/number}","issue_comment_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/comments{/number}","contents_url":"https://api.github.com/repos/fcrepo4/fcrepo4/contents/{+path}","compare_url":"https://api.github.com/repos/fcrepo4/fcrepo4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fcrepo4/fcrepo4/merges","archive_url":"https://api.github.com/repos/fcrepo4/fcrepo4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fcrepo4/fcrepo4/downloads","issues_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues{/number}","pulls_url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls{/number}","milestones_url":"https://api.github.com/repos/fcrepo4/fcrepo4/milestones{/number}","notifications_url":"https://api.github.com/repos/fcrepo4/fcrepo4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fcrepo4/fcrepo4/labels{/name}","releases_url":"https://api.github.com/repos/fcrepo4/fcrepo4/releases{/id}","deployments_url":"https://api.github.com/repos/fcrepo4/fcrepo4/deployments","created_at":"2013-02-03T16:18:55Z","updated_at":"2016-08-24T22:32:00Z","pushed_at":"2016-09-27T15:12:32Z","git_url":"git://github.com/fcrepo4/fcrepo4.git","ssh_url":"git@github.com:fcrepo4/fcrepo4.git","clone_url":"https://github.com/fcrepo4/fcrepo4.git","svn_url":"https://github.com/fcrepo4/fcrepo4","homepage":"https://wiki.duraspace.org/display/FF/Fedora+Repository+Home","size":143607,"stargazers_count":67,"watchers_count":67,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":86,"mirror_url":null,"open_issues_count":31,"forks":86,"open_issues":31,"watchers":67,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1104"},"html":{"href":"https://github.com/fcrepo4/fcrepo4/pull/1104"},"issue":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1104"},"comments":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1104/comments"},"review_comments":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1104/comments"},"review_comment":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1104/commits"},"statuses":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/statuses/77d62200c3f5f5fee7d10071447437974aa67cd6"}}}}
{"actor":{"display_login":"acoburn"}}