Skip to content

Expose request header fields and enhance dump() output - #15

Merged
pgit merged 2 commits into
masterfrom
boringssl
Sep 13, 2026
Merged

pgit merged 2 commits into
masterfrom
boringssl

Conversation

@pgit

@pgit pgit commented Sep 13, 2026

Copy link
Copy Markdown
Owner

No description provided.

pgit and others added 2 commits September 13, 2026 21:57
server::Request and client::Response get fields(): the received header fields, without the
HTTP/2 and HTTP/3 pseudo-headers. HTTP/1.1 hands out Beast's parsed fields; the HTTP/2 stream
now keeps its fields instead of collecting them for debug logging only; the HTTP/3 stream
inserts instead of sets, so that repeated fields are all kept, and keeps content-length too.

A request upgraded to h2c carries its fields over to stream 1, minus the connection-specific
ones that do not exist in HTTP/2 (RFC 9113, section 8.2.2).

dump() lists the fields below the URL.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
test_external.cpp keeps the qualified names: its Args alias clashes with testing::Args.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@pgit
pgit merged commit d98f9b6 into master Sep 13, 2026
4 checks passed
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