{"action":"created","issue":{"url":"https://api.github.com/repos/pashky/restclient.el/issues/75","labels_url":"https://api.github.com/repos/pashky/restclient.el/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/pashky/restclient.el/issues/75/comments","events_url":"https://api.github.com/repos/pashky/restclient.el/issues/75/events","html_url":"https://github.com/pashky/restclient.el/pull/75","id":66400655,"number":75,"title":"Add customization hook prior to running http requests.  ","user":{"login":"redshirtrob","id":1319277,"avatar_url":"https://avatars.githubusercontent.com/u/1319277?v=3","gravatar_id":"","url":"https://api.github.com/users/redshirtrob","html_url":"https://github.com/redshirtrob","followers_url":"https://api.github.com/users/redshirtrob/followers","following_url":"https://api.github.com/users/redshirtrob/following{/other_user}","gists_url":"https://api.github.com/users/redshirtrob/gists{/gist_id}","starred_url":"https://api.github.com/users/redshirtrob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redshirtrob/subscriptions","organizations_url":"https://api.github.com/users/redshirtrob/orgs","repos_url":"https://api.github.com/users/redshirtrob/repos","events_url":"https://api.github.com/users/redshirtrob/events{/privacy}","received_events_url":"https://api.github.com/users/redshirtrob/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-05T04:34:39Z","updated_at":"2015-04-06T01:53:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pashky/restclient.el/pulls/75","html_url":"https://github.com/pashky/restclient.el/pull/75","diff_url":"https://github.com/pashky/restclient.el/pull/75.diff","patch_url":"https://github.com/pashky/restclient.el/pull/75.patch"},"body":"This is useful for things like, e.g. setting `url-proxy-service' based on proxy configuration."},"comment":{"url":"https://api.github.com/repos/pashky/restclient.el/issues/comments/89887576","html_url":"https://github.com/pashky/restclient.el/pull/75#issuecomment-89887576","issue_url":"https://api.github.com/repos/pashky/restclient.el/issues/75","id":89887576,"user":{"login":"redshirtrob","id":1319277,"avatar_url":"https://avatars.githubusercontent.com/u/1319277?v=3","gravatar_id":"","url":"https://api.github.com/users/redshirtrob","html_url":"https://github.com/redshirtrob","followers_url":"https://api.github.com/users/redshirtrob/followers","following_url":"https://api.github.com/users/redshirtrob/following{/other_user}","gists_url":"https://api.github.com/users/redshirtrob/gists{/gist_id}","starred_url":"https://api.github.com/users/redshirtrob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redshirtrob/subscriptions","organizations_url":"https://api.github.com/users/redshirtrob/orgs","repos_url":"https://api.github.com/users/redshirtrob/repos","events_url":"https://api.github.com/users/redshirtrob/events{/privacy}","received_events_url":"https://api.github.com/users/redshirtrob/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T01:53:49Z","updated_at":"2015-04-06T01:53:49Z","body":"Hi @pashky,\r\n\r\nThis PR adds a hook to be executed just prior to making a request.  I need this in cases where I want to redirect requests through a local proxy, e.g. Charles.  I find it's best to detect the proxy configuration automatically and do a JIT update to a buffer-local `url-proxy-service' before each request.\r\n\r\nRob"}}