Ran
|
Jobs
1
|
Files
4
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
Merge bitcoindevkit/rust-esplora-client#66: add http header support 73cc41c8c 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: 8043b54b1a722a2b4143ffdf1b5a0859146
51 of 63 new or added lines in 3 files covered. (80.95%)
959 of 1134 relevant lines covered (84.57%)
9.47 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
4 |
97.0 |
-0.47% | src/lib.rs |
8 |
76.95 |
-2.32% | src/async.rs |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 8368123947.1 | 4 |
84.57 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|