Create WSGI middleware

Aperta
#1,260 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
32/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start by reviewing the ASGI middleware from PR #1113 and the legacy implementation in src/reactpy/backend/flask.py. Check how simple_websocket can provide websocket communication under WSGI, then investigate a cross-platform test server such as fastwsgi and its compatibility. Done means ReactPy has WSGI support with websocket coverage in the test suite.

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

Descrizione

priority-2-moderate
Current Situation

We have a PR that added ASGI middleware. This PR did not include WSGI middleware to limit scope. However, it is technologically possible for us to run on WSGI.

Proposed Actions

Add WSGI support to ReactPy, which will involve utilizing the simple_websocket package for websocket communication.

We used to have this support for WSGI in our legacy flask backend. WSGI middleware design might take some inspiration from this legacy design.

We will need a cross-platform wsgi webserver for our test suite, but they are unfortunately kind of rare. We might be able to use fastwsgi if it supports simple_websocket.

Lingua principale
Python
Stelle
8.1k
Fork
332
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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 reactive-python/reactpy

Tutte le issue di reactive-python/reactpy

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.