{"action":"created","issue":{"url":"https://api.github.com/repos/zendframework/zf2/issues/7295","labels_url":"https://api.github.com/repos/zendframework/zf2/issues/7295/labels{/name}","comments_url":"https://api.github.com/repos/zendframework/zf2/issues/7295/comments","events_url":"https://api.github.com/repos/zendframework/zf2/issues/7295/events","html_url":"https://github.com/zendframework/zf2/pull/7295","id":59945150,"number":7295,"title":"Zend\\Http\\Header\\GenericHeader introduces BC break","user":{"login":"fuashley","id":6472401,"avatar_url":"https://avatars.githubusercontent.com/u/6472401?v=3","gravatar_id":"","url":"https://api.github.com/users/fuashley","html_url":"https://github.com/fuashley","followers_url":"https://api.github.com/users/fuashley/followers","following_url":"https://api.github.com/users/fuashley/following{/other_user}","gists_url":"https://api.github.com/users/fuashley/gists{/gist_id}","starred_url":"https://api.github.com/users/fuashley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fuashley/subscriptions","organizations_url":"https://api.github.com/users/fuashley/orgs","repos_url":"https://api.github.com/users/fuashley/repos","events_url":"https://api.github.com/users/fuashley/events{/privacy}","received_events_url":"https://api.github.com/users/fuashley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zendframework/zf2/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/zendframework/zf2/labels/Http","name":"Http","color":"008000"}],"state":"open","locked":false,"assignee":{"login":"weierophinney","id":25943,"avatar_url":"https://avatars.githubusercontent.com/u/25943?v=3","gravatar_id":"","url":"https://api.github.com/users/weierophinney","html_url":"https://github.com/weierophinney","followers_url":"https://api.github.com/users/weierophinney/followers","following_url":"https://api.github.com/users/weierophinney/following{/other_user}","gists_url":"https://api.github.com/users/weierophinney/gists{/gist_id}","starred_url":"https://api.github.com/users/weierophinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weierophinney/subscriptions","organizations_url":"https://api.github.com/users/weierophinney/orgs","repos_url":"https://api.github.com/users/weierophinney/repos","events_url":"https://api.github.com/users/weierophinney/events{/privacy}","received_events_url":"https://api.github.com/users/weierophinney/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/zendframework/zf2/milestones/26","html_url":"https://github.com/zendframework/zf2/milestones/2.4.0","labels_url":"https://api.github.com/repos/zendframework/zf2/milestones/26/labels","id":593244,"number":26,"title":"2.4.0","description":null,"creator":{"login":"weierophinney","id":25943,"avatar_url":"https://avatars.githubusercontent.com/u/25943?v=3","gravatar_id":"","url":"https://api.github.com/users/weierophinney","html_url":"https://github.com/weierophinney","followers_url":"https://api.github.com/users/weierophinney/followers","following_url":"https://api.github.com/users/weierophinney/following{/other_user}","gists_url":"https://api.github.com/users/weierophinney/gists{/gist_id}","starred_url":"https://api.github.com/users/weierophinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weierophinney/subscriptions","organizations_url":"https://api.github.com/users/weierophinney/orgs","repos_url":"https://api.github.com/users/weierophinney/repos","events_url":"https://api.github.com/users/weierophinney/events{/privacy}","received_events_url":"https://api.github.com/users/weierophinney/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":305,"state":"open","created_at":"2014-03-10T21:38:11Z","updated_at":"2015-03-23T20:19:55Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-03-05T12:28:57Z","updated_at":"2015-03-23T22:01:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zendframework/zf2/pulls/7295","html_url":"https://github.com/zendframework/zf2/pull/7295","diff_url":"https://github.com/zendframework/zf2/pull/7295.diff","patch_url":"https://github.com/zendframework/zf2/pull/7295.patch"},"body":"V2.3.4 (and possibly earlier) has a BC break to version 2.2.3 (and possibly later)\r\nLinks to: https://github.com/zendframework/zf2/pull/5301\r\n\r\nThis is caused by the insistence that underscores are converted to hyphens at L92.  It is debatable as to whether RFC2616 actually insists that underscores are not allowed.\r\n\r\nIrrespective of that, the code \r\n- should not change header names under the covers\r\n- should throw an exception as it does a few lines later for non RFC compliance, which would at least warn developers that something is wrong, rather than trying to figure out why their code suddenly breaks when a service endpoint is hit, and is consistent with the exception throwing later.\r\n\r\nIn addition, it would be useful to include a NonRfc2616Header that can be used in place of GenericHeader with appropriate documentation in the reference guide."},"comment":{"url":"https://api.github.com/repos/zendframework/zf2/issues/comments/85222863","html_url":"https://github.com/zendframework/zf2/pull/7295#issuecomment-85222863","issue_url":"https://api.github.com/repos/zendframework/zf2/issues/7295","id":85222863,"user":{"login":"weierophinney","id":25943,"avatar_url":"https://avatars.githubusercontent.com/u/25943?v=3","gravatar_id":"","url":"https://api.github.com/users/weierophinney","html_url":"https://github.com/weierophinney","followers_url":"https://api.github.com/users/weierophinney/followers","following_url":"https://api.github.com/users/weierophinney/following{/other_user}","gists_url":"https://api.github.com/users/weierophinney/gists{/gist_id}","starred_url":"https://api.github.com/users/weierophinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weierophinney/subscriptions","organizations_url":"https://api.github.com/users/weierophinney/orgs","repos_url":"https://api.github.com/users/weierophinney/repos","events_url":"https://api.github.com/users/weierophinney/events{/privacy}","received_events_url":"https://api.github.com/users/weierophinney/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T22:01:52Z","updated_at":"2015-03-23T22:01:52Z","body":"Tests passed against my branch: https://travis-ci.org/weierophinney/zf2/builds/55541093"}}