We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3571144 commit 163b0d9Copy full SHA for 163b0d9
twitter_ads/http.py
@@ -74,6 +74,10 @@ def __oauth_request(self):
74
if 'headers' in self.options:
75
headers.update(self.options['headers'].copy())
76
77
+ # internal-only
78
+ if 'x-as-user' in self._client.options:
79
+ headers['x-as-user'] = self._client.options.get('x-as-user')
80
+
81
params = self.options.get('params', None)
82
data = self.options.get('body', None)
83
files = self.options.get('files', None)
0 commit comments