{"action":"created","issue":{"url":"https://api.github.com/repos/tomakehurst/wiremock/issues/315","labels_url":"https://api.github.com/repos/tomakehurst/wiremock/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/tomakehurst/wiremock/issues/315/comments","events_url":"https://api.github.com/repos/tomakehurst/wiremock/issues/315/events","html_url":"https://github.com/tomakehurst/wiremock/issues/315","id":111829049,"number":315,"title":"HttpHeader doesn't override hashcode and equals","user":{"login":"adrianmkng","id":5457826,"avatar_url":"https://avatars.githubusercontent.com/u/5457826?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianmkng","html_url":"https://github.com/adrianmkng","followers_url":"https://api.github.com/users/adrianmkng/followers","following_url":"https://api.github.com/users/adrianmkng/following{/other_user}","gists_url":"https://api.github.com/users/adrianmkng/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianmkng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianmkng/subscriptions","organizations_url":"https://api.github.com/users/adrianmkng/orgs","repos_url":"https://api.github.com/users/adrianmkng/repos","events_url":"https://api.github.com/users/adrianmkng/events{/privacy}","received_events_url":"https://api.github.com/users/adrianmkng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-16T13:12:15Z","updated_at":"2015-10-16T13:47:05Z","closed_at":null,"body":"The StubMapping object will never be equal if you add headers to the response because the HttpHeaders are using default hashcode and equals."},"comment":{"url":"https://api.github.com/repos/tomakehurst/wiremock/issues/comments/148720899","html_url":"https://github.com/tomakehurst/wiremock/issues/315#issuecomment-148720899","issue_url":"https://api.github.com/repos/tomakehurst/wiremock/issues/315","id":148720899,"user":{"login":"adrianmkng","id":5457826,"avatar_url":"https://avatars.githubusercontent.com/u/5457826?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianmkng","html_url":"https://github.com/adrianmkng","followers_url":"https://api.github.com/users/adrianmkng/followers","following_url":"https://api.github.com/users/adrianmkng/following{/other_user}","gists_url":"https://api.github.com/users/adrianmkng/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianmkng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianmkng/subscriptions","organizations_url":"https://api.github.com/users/adrianmkng/orgs","repos_url":"https://api.github.com/users/adrianmkng/repos","events_url":"https://api.github.com/users/adrianmkng/events{/privacy}","received_events_url":"https://api.github.com/users/adrianmkng/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T13:47:05Z","updated_at":"2015-10-16T13:47:05Z","body":"I'm building a web ui so that priming and viewing the primes can be done through that. I was just trying to verify the app's behaviour by sending through prime and using the HttpAdminClient to get the StubMappings back to verify my prime actually worked. Unfortunately the test keeps failing because the StubMapping created from the MappingBuilder doesn't equal the StubMapping I receive back from the HttpAdminClient."}}