WordPress / WordPress/Requests

Support Http 2.0

Open
#381 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: enhancement
Dominant language
PHP
Stars
3.6k
Forks
500
Avg merge
2d 21h
Merged PRs (30d)
5

Description

would be great this lib would support Http 2.0 so we can communicate with the client more efficiently

https://stackoverflow.com/a/34609756

as is, it looks like only http 1.0 and 1.1 is supported:
https://github.com/rmccue/Requests/blob/4055bc412f128bb298735d5e1b0189eff41f1340/library/Requests/Transport/cURL.php#L381-L386

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with library/Requests/Transport/cURL.php around lines 381-386 and review the linked Stack Overflow explanation and current HTTP version handling. Determine the scope required for HTTP/2 support in this transport and define completion as the library communicating with clients over HTTP/2.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.