Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tdhttp): request creation methods/functions init Host field #261

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

maxatome
Copy link
Owner

Accepted target can contain scheme://host:port prefix. If it is the case host:port is used to set Request.Host. If not and the header Host is present, it is used to set Request.Host.

@coveralls
Copy link

coveralls commented Mar 14, 2024

Coverage Status

coverage: 99.866%. remained the same
when pulling 36886e6 on tdhttp-host
into 7dc6c82 on master.

Accepted target can contain scheme://host:port prefix. If it is the case
host:port is used to set Request.Host. If not and the header Host is
present, it is used to set Request.Host.

Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
@maxatome maxatome merged commit 679b2d7 into master Mar 15, 2024
10 checks passed
@maxatome maxatome deleted the tdhttp-host branch March 15, 2024 08:15
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.

None yet

3 participants