Accessing a server hosted on a remote URL results in an HTTP 403 Forbidden error, which causes issues when the server is hosted remotely or on a different machine. This can be resolved by modifying line 10 of utils/api.py:
from:
headers = {"Content-Type": "application/json"}
to:
headers = {"Content-Type": "application/json", "User-Agent": "Mozilla/5.0"}
I hope you will include this fix in the future release.
Accessing a server hosted on a remote URL results in an HTTP 403 Forbidden error, which causes issues when the server is hosted remotely or on a different machine. This can be resolved by modifying line 10 of utils/api.py:
from:
headers = {"Content-Type": "application/json"}to:
headers = {"Content-Type": "application/json", "User-Agent": "Mozilla/5.0"}I hope you will include this fix in the future release.