aries-cloudagent-python icon indicating copy to clipboard operation
aries-cloudagent-python copied to clipboard

Set User-Agent header on all outbound requests

Open dbluhm opened this issue 1 year ago • 0 comments

This is a successor to #2781 which addressed missing (or default) User-Agent headers causing 403 errors with some domains. Notably, some services block requests from default User-Agents from certain origins. #2781 specifically addressed this for JSON-LD context loading. This issue captures the intent to add User-Agent headers to all of our outbound requests.

Outbound Requests:

  • [x] JSON-LD Document loader
  • [ ] DIDComm Message delivery
  • [ ] Webhooks
  • [ ] Others?

It may be desirable to make the specific user agent used by ACA-Py configurable.

dbluhm avatar Mar 12 '24 16:03 dbluhm