{"action":"created","issue":{"url":"https://api.github.com/repos/ring-clojure/ring-defaults/issues/20","repository_url":"https://api.github.com/repos/ring-clojure/ring-defaults","labels_url":"https://api.github.com/repos/ring-clojure/ring-defaults/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/ring-clojure/ring-defaults/issues/20/comments","events_url":"https://api.github.com/repos/ring-clojure/ring-defaults/issues/20/events","html_url":"https://github.com/ring-clojure/ring-defaults/issues/20","id":198330158,"number":20,"title":"api-defaults will set content-types automatically which is incompatible with wrap-json-response","user":{"login":"jiacai2050","id":3848910,"avatar_url":"https://avatars.githubusercontent.com/u/3848910?v=3","gravatar_id":"","url":"https://api.github.com/users/jiacai2050","html_url":"https://github.com/jiacai2050","followers_url":"https://api.github.com/users/jiacai2050/followers","following_url":"https://api.github.com/users/jiacai2050/following{/other_user}","gists_url":"https://api.github.com/users/jiacai2050/gists{/gist_id}","starred_url":"https://api.github.com/users/jiacai2050/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiacai2050/subscriptions","organizations_url":"https://api.github.com/users/jiacai2050/orgs","repos_url":"https://api.github.com/users/jiacai2050/repos","events_url":"https://api.github.com/users/jiacai2050/events{/privacy}","received_events_url":"https://api.github.com/users/jiacai2050/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-01-02T12:39:17Z","updated_at":"2017-01-03T13:29:49Z","closed_at":null,"body":"I think most of developers will meet this issue, and solution to this issue is simple after I dig into src of both [wrap-json-response](https://github.com/ring-clojure/ring-json/blob/master/src/ring/middleware/json.clj#L106) and [api-defaults](https://github.com/ring-clojure/ring-defaults/blob/master/src/ring/middleware/defaults.clj#L27)\r\n\r\nIs it more reasonable to set content-types default to false in api-defaults or add an option to set content-type forcefully in wrap-json-response ?"},"comment":{"url":"https://api.github.com/repos/ring-clojure/ring-defaults/issues/comments/270114169","html_url":"https://github.com/ring-clojure/ring-defaults/issues/20#issuecomment-270114169","issue_url":"https://api.github.com/repos/ring-clojure/ring-defaults/issues/20","id":270114169,"user":{"login":"weavejester","id":8780,"avatar_url":"https://avatars.githubusercontent.com/u/8780?v=3","gravatar_id":"","url":"https://api.github.com/users/weavejester","html_url":"https://github.com/weavejester","followers_url":"https://api.github.com/users/weavejester/followers","following_url":"https://api.github.com/users/weavejester/following{/other_user}","gists_url":"https://api.github.com/users/weavejester/gists{/gist_id}","starred_url":"https://api.github.com/users/weavejester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weavejester/subscriptions","organizations_url":"https://api.github.com/users/weavejester/orgs","repos_url":"https://api.github.com/users/weavejester/repos","events_url":"https://api.github.com/users/weavejester/events{/privacy}","received_events_url":"https://api.github.com/users/weavejester/received_events","type":"User","site_admin":false},"created_at":"2017-01-03T13:29:49Z","updated_at":"2017-01-03T13:29:49Z","body":"Thanks for the diagram, but the Ring-Defaults library isn't the place to be explaining middleware. The Ring wiki might be a better choice. However, diagrams are also both a little inaccurate, I'm afraid."}}
{"actor":{"display_login":"weavejester"}}