aio-libs / aio-libs/aiohttp

Feature request: in the server, modifying the response headers after they have been sent should raise

Aperta
#3,231 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
16.5k
Fork
2.4k
Merge medio
20h 10m
PR unite (30g)
221

Descrizione

Simple feature: I think after the response has been prepared (ie after the headers are sent back to the client), the `Response.headers` object should become a read-only dict (ie a `CIMultiDictProxy`), so that it cannot be modified.

Would you accept a patch doing this?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.