permitio / opal

Policy and data administration, distribution, and real-time updates on top of Policy Agents (OPA, Cedar, ...)
https://opal.ac
Apache License 2.0
3.5k stars 154 forks source link

add httpx client for HttpFetchProvider and make it default #590

Closed omer9564 closed 1 month ago

omer9564 commented 1 month ago

Change the default client for http fetcher provider to httpx to prevent

aiohttp.client_exceptions.ClientPayloadError: Response payload is not completed: <ContentLengthError: 400, message='Not enough data for satisfy content length header.'>

See issue here

netlify[bot] commented 1 month ago

Deploy Preview for opal-docs canceled.

Name Link
Latest commit a0b217fb3f1a3a669462164a9d92d327ad5ed08c
Latest deploy log https://app.netlify.com/sites/opal-docs/deploys/665898601fa456000887bded