all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: python-wsgi-intercept  ]

Package: python3-wsgi-intercept (1.9.3-5)

Links for python3-wsgi-intercept

Screenshot

Debian Resources:

Download Source Package python-wsgi-intercept:

Maintainers:

External Resources:

Similar packages:

installa un'applicazione WSGI al posto di un URI reale a scopo di test (Python3)

Testare un'applicazione WSGI normalmente comporta avviare un server da un host e una porta locali, poi puntare il codice di test a tale indirizzo. Questa libreria, invece, permette di intercettare chiamate a qualsiasi combinazione specifica di host e porta e ridirigerle ad un'applicazione WSGI che è importabile dal programma di test. Perciò si può evitare di lanciare diversi processi o thread per testare la propria applicazione Web.

wsgi_intercept funziona sostituendo httplib.HTTPConnection con una sottoclasse: wsgi_intercept.WSGI_HTTPConnection. Questa classe poi, emulando un socket, ridirige combinazioni di server e porta specifiche in un'applicazione WSGI. Se non viene registrata alcuna intercettazione per l'host e la porta richiesti, tali richieste vengono passate al gestore standard.

Questo pacchetto fornisce il modulo Python3.

Tags: Implemented in: Python

Other Packages Related to python3-wsgi-intercept

  • depends
  • recommends
  • suggests
  • enhances

Download python3-wsgi-intercept

Download for all available architectures
Architecture Package Size Installed Size Files
all 17.7 kB105.0 kB [list of files]