{"action":"created","issue":{"url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1141","repository_url":"https://api.github.com/repos/fcrepo4/fcrepo4","labels_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1141/labels{/name}","comments_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1141/comments","events_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1141/events","html_url":"https://github.com/fcrepo4/fcrepo4/pull/1141","id":190233731,"number":1141,"title":"Insure 304 responses do not contain an entity body. (master)","user":{"login":"emetsger","id":146970,"avatar_url":"https://avatars.githubusercontent.com/u/146970?v=3","gravatar_id":"","url":"https://api.github.com/users/emetsger","html_url":"https://github.com/emetsger","followers_url":"https://api.github.com/users/emetsger/followers","following_url":"https://api.github.com/users/emetsger/following{/other_user}","gists_url":"https://api.github.com/users/emetsger/gists{/gist_id}","starred_url":"https://api.github.com/users/emetsger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emetsger/subscriptions","organizations_url":"https://api.github.com/users/emetsger/orgs","repos_url":"https://api.github.com/users/emetsger/repos","events_url":"https://api.github.com/users/emetsger/events{/privacy}","received_events_url":"https://api.github.com/users/emetsger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-18T04:28:22Z","updated_at":"2016-11-18T20:33:51Z","closed_at":"2016-11-18T20:31:48Z","pull_request":{"url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1141","html_url":"https://github.com/fcrepo4/fcrepo4/pull/1141","diff_url":"https://github.com/fcrepo4/fcrepo4/pull/1141.diff","patch_url":"https://github.com/fcrepo4/fcrepo4/pull/1141.patch"},"body":"RFC 7232 explicitly states that 304 \"Not Modified\" responses to conditional requests MUST not contain an entity body: \r\n\r\n  \"A 304 response cannot contain a message-body; it is always terminated \r\n   by the first empty line after the header fields.\" \r\n\r\nResponses from Fedora *do* have an entity body. When Fedora accessed via clients such as Apache Httpclient, this can cause apparent corruption of responses from Fedora. HttpClient does not consume entity bodies from requests that return a 304. The bytes from the errant entity body returned from Fedora can remain in internal HttpClient buffers, corrupting reads from subsequent responses. \r\n\r\n* Addresses https://jira.duraspace.org/browse/FCREPO-2313"},"comment":{"url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/comments/261634942","html_url":"https://github.com/fcrepo4/fcrepo4/pull/1141#issuecomment-261634942","issue_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1141","id":261634942,"user":{"login":"awoods","id":149283,"avatar_url":"https://avatars.githubusercontent.com/u/149283?v=3","gravatar_id":"","url":"https://api.github.com/users/awoods","html_url":"https://github.com/awoods","followers_url":"https://api.github.com/users/awoods/followers","following_url":"https://api.github.com/users/awoods/following{/other_user}","gists_url":"https://api.github.com/users/awoods/gists{/gist_id}","starred_url":"https://api.github.com/users/awoods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awoods/subscriptions","organizations_url":"https://api.github.com/users/awoods/orgs","repos_url":"https://api.github.com/users/awoods/repos","events_url":"https://api.github.com/users/awoods/events{/privacy}","received_events_url":"https://api.github.com/users/awoods/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T20:33:51Z","updated_at":"2016-11-18T20:33:51Z","body":"Resolved with: https://github.com/fcrepo4/fcrepo4/commit/5173f6aa5b188dec0d5cb80a7b98ce299045c51f"}}
{"actor":{"display_login":"awoods"}}