Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Conversation

@grdsdev
Copy link
Contributor

@grdsdev grdsdev commented May 6, 2025

What kind of change does this PR introduce?

Bug fix, feature, docs update, ...

What is the current behavior?

Please link any relevant issues here.

What is the new behavior?

Feel free to include screenshots if it includes visual changes.

Additional context

Add any other context or screenshots.

@grdsdev
Copy link
Contributor Author

grdsdev commented May 6, 2025

@silentworks was doing a few tests for solving supabase/supabase-py#1091 issue, can you check this changes? I think this is the way, we should do something similar on all libs.

http2=True,
)

if timeout is not None:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the idea of deprecating these and suggesting to handle this in your httpx client yourself.

self._client = httpx
self._client.base_url = self.url
self._client.headers = self.headers
self._client.follow_redirects = True
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't believe these params should be set besides the base_url and headers. The others should be handled by the developer when they decide to use their own httpx client.

@ap--
Copy link

ap-- commented May 24, 2025

Hi everyone,

Are there any updates on this? It would be very useful for us to be able to correctly pass down SSL contexts via a custom httpx client.

Thanks,
Andreas

@silentworks
Copy link
Collaborator

This was handled in #205 instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants