{"action":"created","issue":{"url":"https://api.github.com/repos/edgurgel/tentacat/issues/69","repository_url":"https://api.github.com/repos/edgurgel/tentacat","labels_url":"https://api.github.com/repos/edgurgel/tentacat/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/edgurgel/tentacat/issues/69/comments","events_url":"https://api.github.com/repos/edgurgel/tentacat/issues/69/events","html_url":"https://github.com/edgurgel/tentacat/pull/69","id":143749948,"number":69,"title":"read and use additional :request_options on request!/5 ","user":{"login":"killerswan","id":195060,"avatar_url":"https://avatars.githubusercontent.com/u/195060?v=3","gravatar_id":"","url":"https://api.github.com/users/killerswan","html_url":"https://github.com/killerswan","followers_url":"https://api.github.com/users/killerswan/followers","following_url":"https://api.github.com/users/killerswan/following{/other_user}","gists_url":"https://api.github.com/users/killerswan/gists{/gist_id}","starred_url":"https://api.github.com/users/killerswan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killerswan/subscriptions","organizations_url":"https://api.github.com/users/killerswan/orgs","repos_url":"https://api.github.com/users/killerswan/repos","events_url":"https://api.github.com/users/killerswan/events{/privacy}","received_events_url":"https://api.github.com/users/killerswan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-26T21:18:53Z","updated_at":"2016-03-28T08:49:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edgurgel/tentacat/pulls/69","html_url":"https://github.com/edgurgel/tentacat/pull/69","diff_url":"https://github.com/edgurgel/tentacat/pull/69.diff","patch_url":"https://github.com/edgurgel/tentacat/pull/69.patch"},"body":"This allows overriding the default options in configuration, like so:\r\n\r\n```elixir\r\nconfig :tentacat, request_options: [\r\n    {:ssl, [\r\n        {:cacertfile, \"/etc/mysvc/mycert.pem\"}\r\n    ]}\r\n]\r\n```\r\n\r\nOne possible solution to issue https://github.com/edgurgel/tentacat/issues/66.  :innocent: "},"comment":{"url":"https://api.github.com/repos/edgurgel/tentacat/issues/comments/202307416","html_url":"https://github.com/edgurgel/tentacat/pull/69#issuecomment-202307416","issue_url":"https://api.github.com/repos/edgurgel/tentacat/issues/69","id":202307416,"user":{"login":"duksis","id":222101,"avatar_url":"https://avatars.githubusercontent.com/u/222101?v=3","gravatar_id":"","url":"https://api.github.com/users/duksis","html_url":"https://github.com/duksis","followers_url":"https://api.github.com/users/duksis/followers","following_url":"https://api.github.com/users/duksis/following{/other_user}","gists_url":"https://api.github.com/users/duksis/gists{/gist_id}","starred_url":"https://api.github.com/users/duksis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duksis/subscriptions","organizations_url":"https://api.github.com/users/duksis/orgs","repos_url":"https://api.github.com/users/duksis/repos","events_url":"https://api.github.com/users/duksis/events{/privacy}","received_events_url":"https://api.github.com/users/duksis/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T08:49:46Z","updated_at":"2016-03-28T08:49:46Z","body":"Some suggestions from my side:\r\n\r\n1. Add the example snippet from this PR description to documentation - maybe readme\r\n2. Rename `extra_options` to `config_options` and extract them to a private function\r\n\r\n```elixir\r\ndefp config_options\r\n  Application.get_env(:tentacat, :request_options, [])\r\nend\r\n```\r\n\r\nvaluable addition even without implementing my suggestions.\r\nthanks @killerswan :+1: "}}