You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
73cc41c add http header support (John Cantrell)
Pull request description:
Technically an end-user could do this themselves because the builders support passing in pre-built ureq/reqwest clients but this makes it a bit easier for them.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Introduced the ability to set custom HTTP headers for requests in both asynchronous and synchronous clients.
- Added methods in the `Builder` struct for adding HTTP headers to requests.
- **Improvements**
- Enhanced error handling with new error variants for invalid HTTP header names and values.
- **Tests**
- Updated test setup to include custom HTTP headers.
- Added a new test case for fetching transactions with specific HTTP headers.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Top commit has no ACKs.
Tree-SHA512: 8043b54b1cb1330492017674f3e028ad0bc80c08a722a2b413c4b39f8503e9228b9a008e379e610943ffdf1b50ad2cefedba55f716fe2e7fa69fc22fa0859146
0 commit comments