Skip to content

Conversation

@Mantisus
Copy link
Collaborator

@Mantisus Mantisus commented Feb 2, 2026

Description

This PR adds the extra_headers argument for ApifyClient and ApifyClientAsync, which allows you to set additional custom headers in the HTTP client. The set headers will be applied to all requests. Custom headers cannot override default headers set in the client.

This solves the problem case described in #416 (comment)

Testing

Tests checking the set headers have been added.

@Mantisus Mantisus self-assigned this Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant