You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, when I am using your tool to reproduce Bing Maps, the program throws an exception: AttributeError: 'PreparedRequest' object has no attribute 'params'.This exception occurs in:
`class Auth:
def init(self, headerAuth, queryAuth):
self.headerAuth = headerAuth
self.queryAuth = queryAuth
def __call__(self, r):
for key, token in self.headerAuth.items():
r.headers[key] = token
for key, token in self.queryAuth.items():
r.params[key] = token
return r
The error occurs when self.queryAuth.items() is not empty. I noticed that the difference between GitLab and Bing Maps regarding the token is that, for the former, the token is specified using--headerin the test command, while for the latter it is specified using--query`. Therefore, testing GitLab does not result in this error, but testing Bing Maps does.
The text was updated successfully, but these errors were encountered:
Hello, when I am using your tool to reproduce Bing Maps, the program throws an exception:
AttributeError: 'PreparedRequest' object has no attribute 'params'
.This exception occurs in:`class Auth:
def init(self, headerAuth, queryAuth):
self.headerAuth = headerAuth
self.queryAuth = queryAuth
The error occurs when self.queryAuth.items() is not empty. I noticed that the difference between GitLab and Bing Maps regarding the token is that, for the former, the token is specified using
--headerin the test command, while for the latter it is specified using
--query`. Therefore, testing GitLab does not result in this error, but testing Bing Maps does.The text was updated successfully, but these errors were encountered: