Commit 5d8d514b authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by Vincent A

[axabanque] Set correct Referer to avoid 406 error when fetching investments

parent 6cfeb9c1
......@@ -777,7 +777,9 @@ class AXAAssurance(AXABrowser):
iframe_url =
if iframe_url:
# Set correct Referer to avoid 302 followed by 406 errors (Not Acceptable)
headers = {'Referer': ''}
self.location(iframe_url, headers=headers)
return self.iter_investment_monaxa(account)
# No data available for this account.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment