{"action":"created","issue":{"url":"https://api.github.com/repos/apache/couchdb-couch/issues/55","labels_url":"https://api.github.com/repos/apache/couchdb-couch/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/apache/couchdb-couch/issues/55/comments","events_url":"https://api.github.com/repos/apache/couchdb-couch/issues/55/events","html_url":"https://github.com/apache/couchdb-couch/pull/55","id":81002223,"number":55,"title":"Fix duplicated Content-Type for show/update functions","user":{"login":"arturmazurek","id":2102059,"avatar_url":"https://avatars.githubusercontent.com/u/2102059?v=3","gravatar_id":"","url":"https://api.github.com/users/arturmazurek","html_url":"https://github.com/arturmazurek","followers_url":"https://api.github.com/users/arturmazurek/followers","following_url":"https://api.github.com/users/arturmazurek/following{/other_user}","gists_url":"https://api.github.com/users/arturmazurek/gists{/gist_id}","starred_url":"https://api.github.com/users/arturmazurek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturmazurek/subscriptions","organizations_url":"https://api.github.com/users/arturmazurek/orgs","repos_url":"https://api.github.com/users/arturmazurek/repos","events_url":"https://api.github.com/users/arturmazurek/events{/privacy}","received_events_url":"https://api.github.com/users/arturmazurek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-26T15:02:43Z","updated_at":"2015-05-26T15:07:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/couchdb-couch/pulls/55","html_url":"https://github.com/apache/couchdb-couch/pull/55","diff_url":"https://github.com/apache/couchdb-couch/pull/55.diff","patch_url":"https://github.com/apache/couchdb-couch/pull/55.patch"},"body":"When a show/update function returned data it added a\r\n\"Content-Type: application/json\" header by itself. Then\r\ncouch_httpd added some default headers (including a yet\r\nanother \"application/json\" one).\r\nThis diff will add default chttpd headers only when\r\nsame headers are not yet present in the response.\r\n\r\nCOUCHDB-1876"},"comment":{"url":"https://api.github.com/repos/apache/couchdb-couch/issues/comments/105557076","html_url":"https://github.com/apache/couchdb-couch/pull/55#issuecomment-105557076","issue_url":"https://api.github.com/repos/apache/couchdb-couch/issues/55","id":105557076,"user":{"login":"arturmazurek","id":2102059,"avatar_url":"https://avatars.githubusercontent.com/u/2102059?v=3","gravatar_id":"","url":"https://api.github.com/users/arturmazurek","html_url":"https://github.com/arturmazurek","followers_url":"https://api.github.com/users/arturmazurek/followers","following_url":"https://api.github.com/users/arturmazurek/following{/other_user}","gists_url":"https://api.github.com/users/arturmazurek/gists{/gist_id}","starred_url":"https://api.github.com/users/arturmazurek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturmazurek/subscriptions","organizations_url":"https://api.github.com/users/arturmazurek/orgs","repos_url":"https://api.github.com/users/arturmazurek/repos","events_url":"https://api.github.com/users/arturmazurek/events{/privacy}","received_events_url":"https://api.github.com/users/arturmazurek/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T15:07:24Z","updated_at":"2015-05-26T15:07:24Z","body":"This is a follow-up to https://github.com/apache/couchdb-couch/pull/53\r\n\r\nAdded tests for the new functions.\r\n\r\nAlso regarding a comment in that old pull request:\r\n> Also, for CouchDB 2.0 you fixed problem only on local interface, while for [cluster|https://github.com/apache/couchdb-chttpd/blob/master/src/chttpd.erl] one it still may exists. Worth to check.\r\n\r\nI was checking it through chttpd interface. - if I understand correctly `dev/run` starts a cluster listening at http://localhost:15984 and that interface reuses code from couch, for which this fix is."}}