{"action":"created","issue":{"url":"https://api.github.com/repos/manastech/crystal/issues/2111","repository_url":"https://api.github.com/repos/manastech/crystal","labels_url":"https://api.github.com/repos/manastech/crystal/issues/2111/labels{/name}","comments_url":"https://api.github.com/repos/manastech/crystal/issues/2111/comments","events_url":"https://api.github.com/repos/manastech/crystal/issues/2111/events","html_url":"https://github.com/manastech/crystal/pull/2111","id":131900229,"number":2111,"title":"HTTP::Headers#merge! returns self","user":{"login":"AlexWayfer","id":6510020,"avatar_url":"https://avatars.githubusercontent.com/u/6510020?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexWayfer","html_url":"https://github.com/AlexWayfer","followers_url":"https://api.github.com/users/AlexWayfer/followers","following_url":"https://api.github.com/users/AlexWayfer/following{/other_user}","gists_url":"https://api.github.com/users/AlexWayfer/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexWayfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexWayfer/subscriptions","organizations_url":"https://api.github.com/users/AlexWayfer/orgs","repos_url":"https://api.github.com/users/AlexWayfer/repos","events_url":"https://api.github.com/users/AlexWayfer/events{/privacy}","received_events_url":"https://api.github.com/users/AlexWayfer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-06T21:14:43Z","updated_at":"2016-02-07T11:12:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/manastech/crystal/pulls/2111","html_url":"https://github.com/manastech/crystal/pull/2111","diff_url":"https://github.com/manastech/crystal/pull/2111.diff","patch_url":"https://github.com/manastech/crystal/pull/2111.patch"},"body":"I think, that better. For example:\r\n```crystal\r\nHTTP::Client.exec(\r\n  \"GET\",\r\n  \"http://example.org/\",\r\n  HTTP::Headers.new.merge!({\"User-Agent\": \"Foo-Bar\"}) # or parent method Hash-parameter\r\n)\r\n```\r\nBut now I must do:\r\n```crystal\r\nhttp_headers = HTTP::Headers.new\r\nhttp_headers.merge!({\"User-Agent\": \"Foo-Bar\"})\r\nHTTP::Client.exec(\r\n  \"GET\",\r\n  \"http://example.org/\",\r\n  http_headers\r\n)\r\n```"},"comment":{"url":"https://api.github.com/repos/manastech/crystal/issues/comments/180996784","html_url":"https://github.com/manastech/crystal/pull/2111#issuecomment-180996784","issue_url":"https://api.github.com/repos/manastech/crystal/issues/2111","id":180996784,"user":{"login":"AlexWayfer","id":6510020,"avatar_url":"https://avatars.githubusercontent.com/u/6510020?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexWayfer","html_url":"https://github.com/AlexWayfer","followers_url":"https://api.github.com/users/AlexWayfer/followers","following_url":"https://api.github.com/users/AlexWayfer/following{/other_user}","gists_url":"https://api.github.com/users/AlexWayfer/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexWayfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexWayfer/subscriptions","organizations_url":"https://api.github.com/users/AlexWayfer/orgs","repos_url":"https://api.github.com/users/AlexWayfer/repos","events_url":"https://api.github.com/users/AlexWayfer/events{/privacy}","received_events_url":"https://api.github.com/users/AlexWayfer/received_events","type":"User","site_admin":false},"created_at":"2016-02-07T11:12:20Z","updated_at":"2016-02-07T11:12:20Z","body":"```crystal\r\nhash = Hash(String, String).new.merge!({\"foo\": \"bar\"})\r\nhash.should be hash\r\n```\r\nIs OK.\r\nOh, I understood! `HTTP::Headers#same?` is missing, and... `forward_missing_to @hash` do that error.\r\nI will add `HTTP::Headers#same?` method."}}