Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[HttpClient] Add support for HTTP/3 #58331

Closed
@hostep

Description

@hostep

Description

HTTP/3 is the successor of HTTP/2 and is slowly being used more and more on the web.

It would be nice if HttpClient could support it, currently it only supports up to version 2 in the curl client as far as I can see: https://github.com/symfony/http-client/blob/2af7c5a46eb26bd81a35617e3b198abecd994066/CurlHttpClient.php#L140-L146
Ideally it should try to use HTTP/3 by default if http_version is not provided in the config and when your system supports it.

Thanks!

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions