Skip to content

Correctly propagate the client request authority.#6223

Merged
vietj merged 1 commit into
masterfrom
http-client-request-authority
Jul 1, 2026
Merged

Correctly propagate the client request authority.#6223
vietj merged 1 commit into
masterfrom
http-client-request-authority

Conversation

@vietj

@vietj vietj commented Jul 1, 2026

Copy link
Copy Markdown
Member

Motivation:

The HttpClientRequest authority should be properly set instead of being inherited from the connection authority.

In addition we should let the client request to have no authority when desired (which can be desired to craft HTTP/2 without an authority).

Changes:

Correctly create the initial request authority from the options authority or the push authority pseudo header.

Add test for these cases.

@vietj vietj added this to the 5.2.0 milestone Jul 1, 2026
@vietj vietj self-assigned this Jul 1, 2026
@vietj vietj force-pushed the http-client-request-authority branch from a0371c2 to 0053a58 Compare July 1, 2026 07:22
Motivation:

The HttpClientRequest authority should be properly set instead of being inherited from the connection authority.

In addition we should let the client request to have no authority when desired (which can be desired to craft HTTP/2 without an authority).

Changes:

Correctly create the initial request authority from the options authority or the push authority pseudo header.

Add test for these cases.
@vietj vietj force-pushed the http-client-request-authority branch from 0053a58 to a116533 Compare July 1, 2026 08:14
@vietj vietj merged commit 16ab4f3 into master Jul 1, 2026
10 of 22 checks passed
@vietj vietj deleted the http-client-request-authority branch July 1, 2026 09:53
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