[Feature] 迁移httpx至httpx2并启用HTTP/2

Aperta
#11,171 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Start by locating where AstrBot declares its Python dependencies and where it creates or configures HTTP clients. Review how those clients use httpx, then check httpx2's compatibility and HTTP/2 requirements. Done means the project uses httpx2 and explicitly enables HTTP/2; run the relevant dependency and client tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
Feature Description

重要依赖项httpx目前维护不太积极,存在风险。建议及早迁移至httpx2。另外,httpx和httpx2默认均只使用HTTP/1.1,没有启用HTTP/2,建议在AstrBot中显式声明该feature

Use Case

No response

Checklist
  • I have searched the Issue list for related features and confirmed this feature idea has never been proposed.
  • The feature I am suggesting is related to AstrBot itself, not to a specific plugin.
  • I have read and agree to the project's Code of Conduct.
  • (Optional) I am willing to submit a PR to help implement this feature.
Lingua principale
Python
Stelle
46.9k
Fork
3.6k
Merge medio
1g 6h
PR unite (30g)
136

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di AstrBotDevs/AstrBot

Tutte le issue di AstrBotDevs/AstrBot

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.