Skip to content

Commit

Permalink
updated force_headers to force_auth_header (more correct name)
Browse files Browse the repository at this point in the history
  • Loading branch information
brosner committed Jan 15, 2010
1 parent 313eeed commit 377d4a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oauth_access/access.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def make_api_call(self, kind, url, token, method="GET", **kwargs):
if isinstance(token, basestring):
token = oauth.Token.from_string(token)
client = oauth.Client(self.consumer, token=token)
response, content = client.request(url, method=method, force_headers=True)
response, content = client.request(url, method=method, force_auth_header=True)
if not content:
raise ServiceFail("no content")
logger.debug("response: %r" % response)
Expand Down

0 comments on commit 377d4a9

Please sign in to comment.