Skip to content

All headers - #5

Merged
pgit merged 3 commits into
masterfrom
all-headers
Nov 14, 2026
Merged

pgit merged 3 commits into
masterfrom
all-headers

Conversation

@pgit

@pgit pgit commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Improve command line options (--each-address and --all-headers, now orthogonal).

pgit and others added 3 commits November 9, 2026 21:34
Brings what anyhttp has on cancellation (pgit/anyhttp#41, #42, #44). Capy and Corosio stay where
they are, at anyhttp's pins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…only

c_ares_async::c_ares_async is no more: a program links the target of its runtime, here
c_ares_async::corosio, and so does the fake DNS server the tests borrow. C_ARES_ASYNC_API only has
c-ares-async look for Corosio now, rather than choose the runtime of its targets. Its Capy and
Corosio pins are those of anyhttp again (pgit/c-ares-async#9).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Whether the header fields are printed was up to --each-address, which is
about how many requests go out, not about how much of each response is
shown. Now every response gets its status line by default, and
--all-headers adds its header fields below it, for one request per host
as for one per address. For that, the reply of each address keeps its
header fields as well.

format_result() takes a Style for the colour and the header fields, in
place of a bool.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pgit
pgit merged commit 7bb5a7b into master Nov 14, 2026
1 check passed
@pgit
pgit deleted the all-headers branch November 14, 2026 21:01
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