[wp-trac] [WordPress Trac] #61358: Add Support to HTTP 2 in WP_Http Class
WordPress Trac
noreply at wordpress.org
Mon Jun 3 12:37:37 UTC 2024
#61358: Add Support to HTTP 2 in WP_Http Class
-------------------------+-----------------------------
Reporter: isaumya | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: HTTP API | Version:
Severity: normal | Keywords:
Focuses: performance |
-------------------------+-----------------------------
As HTTP 2 has become the standard of the web and HTTP 3 deployment is
increasing rapidly, `WP_Http` class should support HTTP/2.0 in
`httpversion` which currently only accepts `1.0` or `1.1`.
The `httpversion` should accept `1.0`, `1.1`, `2.0`, and `3.0` and the
default should be `2.0` instead of `1.0` or `1.1` standing in 2024.
There is no way to make requests via HTTP/2 in WordPress unless a custom
cURL-based approach is used. This should be fixed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61358>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list