{"action":"created","issue":{"url":"https://api.github.com/repos/indutny/bud/issues/62","labels_url":"https://api.github.com/repos/indutny/bud/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/indutny/bud/issues/62/comments","events_url":"https://api.github.com/repos/indutny/bud/issues/62/events","html_url":"https://github.com/indutny/bud/issues/62","id":60772348,"number":62,"title":"Do we have proxy chain support?","user":{"login":"arunoda","id":50838,"avatar_url":"https://avatars.githubusercontent.com/u/50838?v=3","gravatar_id":"","url":"https://api.github.com/users/arunoda","html_url":"https://github.com/arunoda","followers_url":"https://api.github.com/users/arunoda/followers","following_url":"https://api.github.com/users/arunoda/following{/other_user}","gists_url":"https://api.github.com/users/arunoda/gists{/gist_id}","starred_url":"https://api.github.com/users/arunoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arunoda/subscriptions","organizations_url":"https://api.github.com/users/arunoda/orgs","repos_url":"https://api.github.com/users/arunoda/repos","events_url":"https://api.github.com/users/arunoda/events{/privacy}","received_events_url":"https://api.github.com/users/arunoda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-12T05:14:52Z","updated_at":"2015-03-12T11:44:49Z","closed_at":null,"body":"Let's say we are already behind a proxy(In my case Cloudflare) and it has added x-forwarded headers. In that case, does bud build a proxy chain for x-forwarded like this.\r\n\r\n~~~js\r\nheaders['x-forwarded-for'] = 'client-ip, cloudflare-ip';\r\n~~~"},"comment":{"url":"https://api.github.com/repos/indutny/bud/issues/comments/78465268","html_url":"https://github.com/indutny/bud/issues/62#issuecomment-78465268","issue_url":"https://api.github.com/repos/indutny/bud/issues/62","id":78465268,"user":{"login":"indutny","id":238531,"avatar_url":"https://avatars.githubusercontent.com/u/238531?v=3","gravatar_id":"","url":"https://api.github.com/users/indutny","html_url":"https://github.com/indutny","followers_url":"https://api.github.com/users/indutny/followers","following_url":"https://api.github.com/users/indutny/following{/other_user}","gists_url":"https://api.github.com/users/indutny/gists{/gist_id}","starred_url":"https://api.github.com/users/indutny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indutny/subscriptions","organizations_url":"https://api.github.com/users/indutny/orgs","repos_url":"https://api.github.com/users/indutny/repos","events_url":"https://api.github.com/users/indutny/events{/privacy}","received_events_url":"https://api.github.com/users/indutny/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T11:44:49Z","updated_at":"2015-03-12T11:44:49Z","body":"@arunoda I'm afraid bud we'll just add extra header line to the first request. So technically, first request will have proper proxy chain, but you'll need to prepend first address from the chain manually to the all further requests on the connection.\r\n\r\nPlease note that X-Forwarded-For feature does not parse http."}}