{"action":"created","issue":{"url":"https://api.github.com/repos/ring-clojure/ring-headers/issues/5","repository_url":"https://api.github.com/repos/ring-clojure/ring-headers","labels_url":"https://api.github.com/repos/ring-clojure/ring-headers/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/ring-clojure/ring-headers/issues/5/comments","events_url":"https://api.github.com/repos/ring-clojure/ring-headers/issues/5/events","html_url":"https://github.com/ring-clojure/ring-headers/issues/5","id":159787249,"number":5,"title":"the x-headers middleware appears to be incompatible with seq header values","user":{"login":"yogthos","id":121208,"avatar_url":"https://avatars.githubusercontent.com/u/121208?v=3","gravatar_id":"","url":"https://api.github.com/users/yogthos","html_url":"https://github.com/yogthos","followers_url":"https://api.github.com/users/yogthos/followers","following_url":"https://api.github.com/users/yogthos/following{/other_user}","gists_url":"https://api.github.com/users/yogthos/gists{/gist_id}","starred_url":"https://api.github.com/users/yogthos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogthos/subscriptions","organizations_url":"https://api.github.com/users/yogthos/orgs","repos_url":"https://api.github.com/users/yogthos/repos","events_url":"https://api.github.com/users/yogthos/events{/privacy}","received_events_url":"https://api.github.com/users/yogthos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-11T18:39:39Z","updated_at":"2016-06-11T23:25:01Z","closed_at":null,"body":"Using a header such as `{\"content-type\" [\"text/plain\" \"text/html\"]}` in the response will result in the following exception:\r\n\r\n```\r\n[clojure.core$re_matcher invokeStatic core.clj 4667]\r\n  [clojure.core$re_find invokeStatic core.clj 4716]\r\n  [clojure.core$re_find invoke core.clj 4716]\r\n  [ring.middleware.default_charset$text_based_content_type_QMARK_ invokeStatic default_charset.clj 7]\r\n  [ring.middleware.default_charset$text_based_content_type_QMARK_ invoke default_charset.clj 6]\r\n  [ring.middleware.default_charset$add_charset invokeStatic default_charset.clj 15]\r\n  [ring.middleware.default_charset$add_charset invoke default_charset.clj 13]\r\n  [ring.middleware.default_charset$wrap_default_charset$fn__12380 invoke default_charset.clj 27]\r\n  [ring.middleware.not_modified$wrap_not_modified$fn__12337 invoke not_modified.clj 52]\r\n  [ring.middleware.x_headers$wrap_xss_protection$fn__11091 invoke x_headers.clj 71]\r\n  [ring.middleware.x_headers$wrap_frame_options$fn__11079 invoke x_headers.clj 38]\r\n  [ring.middleware.x_headers$wrap_content_type_options$fn__11085 invoke x_headers.clj 53]\r\n```\r\n\r\nNot sure if this is the expected behavior as the spec states that header values can be seqs."},"comment":{"url":"https://api.github.com/repos/ring-clojure/ring-headers/issues/comments/225400042","html_url":"https://github.com/ring-clojure/ring-headers/issues/5#issuecomment-225400042","issue_url":"https://api.github.com/repos/ring-clojure/ring-headers/issues/5","id":225400042,"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":"2016-06-11T23:25:01Z","updated_at":"2016-06-11T23:25:01Z","body":"Isn't the issue specific to the content-type header?"}}
{"actor":{"display_login":"weavejester"}}