{"action":"created","issue":{"url":"https://api.github.com/repos/kevin1024/vcrpy/issues/167","labels_url":"https://api.github.com/repos/kevin1024/vcrpy/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/kevin1024/vcrpy/issues/167/comments","events_url":"https://api.github.com/repos/kevin1024/vcrpy/issues/167/events","html_url":"https://github.com/kevin1024/vcrpy/pull/167","id":93008123,"number":167,"title":"Improve body matcher using Content-Type based approach","user":{"login":"Diaoul","id":319220,"avatar_url":"https://avatars.githubusercontent.com/u/319220?v=3","gravatar_id":"","url":"https://api.github.com/users/Diaoul","html_url":"https://github.com/Diaoul","followers_url":"https://api.github.com/users/Diaoul/followers","following_url":"https://api.github.com/users/Diaoul/following{/other_user}","gists_url":"https://api.github.com/users/Diaoul/gists{/gist_id}","starred_url":"https://api.github.com/users/Diaoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diaoul/subscriptions","organizations_url":"https://api.github.com/users/Diaoul/orgs","repos_url":"https://api.github.com/users/Diaoul/repos","events_url":"https://api.github.com/users/Diaoul/events{/privacy}","received_events_url":"https://api.github.com/users/Diaoul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-07-04T12:30:53Z","updated_at":"2015-07-14T23:06:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kevin1024/vcrpy/pulls/167","html_url":"https://github.com/kevin1024/vcrpy/pull/167","diff_url":"https://github.com/kevin1024/vcrpy/pull/167.diff","patch_url":"https://github.com/kevin1024/vcrpy/pull/167.patch"},"body":"Fixes #166"},"comment":{"url":"https://api.github.com/repos/kevin1024/vcrpy/issues/comments/121420281","html_url":"https://github.com/kevin1024/vcrpy/pull/167#issuecomment-121420281","issue_url":"https://api.github.com/repos/kevin1024/vcrpy/issues/167","id":121420281,"user":{"login":"Diaoul","id":319220,"avatar_url":"https://avatars.githubusercontent.com/u/319220?v=3","gravatar_id":"","url":"https://api.github.com/users/Diaoul","html_url":"https://github.com/Diaoul","followers_url":"https://api.github.com/users/Diaoul/followers","following_url":"https://api.github.com/users/Diaoul/following{/other_user}","gists_url":"https://api.github.com/users/Diaoul/gists{/gist_id}","starred_url":"https://api.github.com/users/Diaoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diaoul/subscriptions","organizations_url":"https://api.github.com/users/Diaoul/orgs","repos_url":"https://api.github.com/users/Diaoul/repos","events_url":"https://api.github.com/users/Diaoul/events{/privacy}","received_events_url":"https://api.github.com/users/Diaoul/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T23:06:37Z","updated_at":"2015-07-14T23:06:37Z","body":"There are infinite possibilities for two requests not to match. Everything cannot be unit tested. Do you have a particular test in mind? Two xmlrpc requests with different headers? One xmlrpc and one json?\r\n\r\nThis is not a very complex function, more tests would probably end up testing the `CaseInsensitiveDict` (which is also quite simple and already proven working fine as it comes from requests) or the `==` operator. I was planning to add more tests if someone encounters a bug."}}