-
Notifications
You must be signed in to change notification settings - Fork 70
Description
Hi,
I used the following sample oauth client example:
from restkit import OAuthFilter, request
import restkit.oauth2 as oauth
consumer = oauth.Consumer(key="your-twitter-consumer-key",
secret="your-twitter-consumer-secret")
request_token_url = "http://twitter.com/oauth/request_token"
auth = oauth.OAuthFilter('*', consumer)
resp = request(request_token_url, filters=[auth])
print resp.body_string()
This is working fine except when you are behind a https proxy.
I tried the following:
c = Client()
c.use_proxy = True
resp = c.request(url, filters=[auth])
But then the request class does not recognise the filters anymore.
Is it possible to override the request class to use a proxy or is there any possibility to use oauth with a proxy?
Any help would be appreciated.
Thanks,
Christian