{"action":"created","issue":{"url":"https://api.github.com/repos/httprb/http/issues/309","repository_url":"https://api.github.com/repos/httprb/http","labels_url":"https://api.github.com/repos/httprb/http/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/httprb/http/issues/309/comments","events_url":"https://api.github.com/repos/httprb/http/issues/309/events","html_url":"https://github.com/httprb/http/issues/309","id":135432684,"number":309,"title":"ssl_context in default options","user":{"login":"milgner","id":160025,"avatar_url":"https://avatars.githubusercontent.com/u/160025?v=3","gravatar_id":"","url":"https://api.github.com/users/milgner","html_url":"https://github.com/milgner","followers_url":"https://api.github.com/users/milgner/followers","following_url":"https://api.github.com/users/milgner/following{/other_user}","gists_url":"https://api.github.com/users/milgner/gists{/gist_id}","starred_url":"https://api.github.com/users/milgner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milgner/subscriptions","organizations_url":"https://api.github.com/users/milgner/orgs","repos_url":"https://api.github.com/users/milgner/repos","events_url":"https://api.github.com/users/milgner/events{/privacy}","received_events_url":"https://api.github.com/users/milgner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-22T14:24:14Z","updated_at":"2016-02-22T22:25:40Z","closed_at":null,"body":"My use case: run multiple requests against a single host, using always the same headers (basic auth, accept and content-type) and a custom SSL context.\r\n\r\nHowever I cannot set up the latter: when trying to set `ssl_context` on the default options, it complains that it's a protected method.\r\nWhen I do `default_options = HTTP::Options.new(ssl_context: ssl_context, ...)`, all the new default options are set correctly, but `ssl_context` becomes `nil`."},"comment":{"url":"https://api.github.com/repos/httprb/http/issues/comments/187416475","html_url":"https://github.com/httprb/http/issues/309#issuecomment-187416475","issue_url":"https://api.github.com/repos/httprb/http/issues/309","id":187416475,"user":{"login":"ixti","id":94782,"avatar_url":"https://avatars.githubusercontent.com/u/94782?v=3","gravatar_id":"","url":"https://api.github.com/users/ixti","html_url":"https://github.com/ixti","followers_url":"https://api.github.com/users/ixti/followers","following_url":"https://api.github.com/users/ixti/following{/other_user}","gists_url":"https://api.github.com/users/ixti/gists{/gist_id}","starred_url":"https://api.github.com/users/ixti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ixti/subscriptions","organizations_url":"https://api.github.com/users/ixti/orgs","repos_url":"https://api.github.com/users/ixti/repos","events_url":"https://api.github.com/users/ixti/events{/privacy}","received_events_url":"https://api.github.com/users/ixti/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T22:25:40Z","updated_at":"2016-02-22T22:25:40Z","body":"@tarcieri why not allow `#ssl` understand `:context` as part of params? :D"}}