Commit 81bca5e
fix(client): set User-Agent header in raw HTTP helpers
All three raw HTTP helpers (raw_get, raw_patch, raw_post) were omitting
the User-Agent header, causing ddsql (and any other commands using these
helpers like acp and synthetics) to send reqwest's default user agent
instead of pup's versioned agent string.
- Add `useragent::get()` header to raw_get, raw_patch, raw_post
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>1 parent 919fd10 commit 81bca5e
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| 223 | + | |
| 224 | + | |
223 | 225 | | |
224 | 226 | | |
225 | 227 | | |
| |||
506 | 508 | | |
507 | 509 | | |
508 | 510 | | |
509 | | - | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
510 | 516 | | |
511 | 517 | | |
512 | 518 | | |
| |||
539 | 545 | | |
540 | 546 | | |
541 | 547 | | |
| 548 | + | |
542 | 549 | | |
543 | 550 | | |
544 | 551 | | |
| |||
574 | 581 | | |
575 | 582 | | |
576 | 583 | | |
| 584 | + | |
577 | 585 | | |
578 | 586 | | |
579 | 587 | | |
| |||
0 commit comments