{"action":"created","issue":{"url":"https://api.github.com/repos/minkphp/Mink/issues/636","labels_url":"https://api.github.com/repos/minkphp/Mink/issues/636/labels{/name}","comments_url":"https://api.github.com/repos/minkphp/Mink/issues/636/comments","events_url":"https://api.github.com/repos/minkphp/Mink/issues/636/events","html_url":"https://github.com/minkphp/Mink/pull/636","id":55231253,"number":636,"title":"Add support for header assertions","user":{"login":"stof","id":439401,"avatar_url":"https://avatars.githubusercontent.com/u/439401?v=3","gravatar_id":"","url":"https://api.github.com/users/stof","html_url":"https://github.com/stof","followers_url":"https://api.github.com/users/stof/followers","following_url":"https://api.github.com/users/stof/following{/other_user}","gists_url":"https://api.github.com/users/stof/gists{/gist_id}","starred_url":"https://api.github.com/users/stof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stof/subscriptions","organizations_url":"https://api.github.com/users/stof/orgs","repos_url":"https://api.github.com/users/stof/repos","events_url":"https://api.github.com/users/stof/events{/privacy}","received_events_url":"https://api.github.com/users/stof/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-23T00:52:37Z","updated_at":"2015-01-23T01:18:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/minkphp/Mink/pulls/636","html_url":"https://github.com/minkphp/Mink/pull/636","diff_url":"https://github.com/minkphp/Mink/pull/636.diff","patch_url":"https://github.com/minkphp/Mink/pull/636.patch"},"body":"This continues the work of #623. It removes the changes in the driver API as we already have a method to get the response headers. This avoids forcing drivers to duplicate the header retrieval, and it let us implement the case insensitive lookup in a single place (to deal with header names properly).\r\nIt also adds the missing tests for the new method in the Session class."},"comment":{"url":"https://api.github.com/repos/minkphp/Mink/issues/comments/71132210","html_url":"https://github.com/minkphp/Mink/pull/636#issuecomment-71132210","issue_url":"https://api.github.com/repos/minkphp/Mink/issues/636","id":71132210,"user":{"login":"stof","id":439401,"avatar_url":"https://avatars.githubusercontent.com/u/439401?v=3","gravatar_id":"","url":"https://api.github.com/users/stof","html_url":"https://github.com/stof","followers_url":"https://api.github.com/users/stof/followers","following_url":"https://api.github.com/users/stof/following{/other_user}","gists_url":"https://api.github.com/users/stof/gists{/gist_id}","starred_url":"https://api.github.com/users/stof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stof/subscriptions","organizations_url":"https://api.github.com/users/stof/orgs","repos_url":"https://api.github.com/users/stof/repos","events_url":"https://api.github.com/users/stof/events{/privacy}","received_events_url":"https://api.github.com/users/stof/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T01:18:28Z","updated_at":"2015-01-23T01:18:28Z","body":"I'm not sure we actually need the regex-based assertions for header values. What do you think @aik099 ?"}}