I-Python HTTP proxy esebenzisa i-BaseHTTPRequestHandler ifunda ama-header ku-buffer ebizwa ngokuthi i-rfile. Leyo buffer ingafunda phambili futhi igcine ama-byte omzimba we-POST.

Uma ulinda ku-socket, ubuza kuphela ukuthi i-file descriptor isilungile yini, hhayi ukuthi i-Python stream inedatha esetshenzisekayo yini. Bona umbhalo wesiNgisi: Python HTTP Proxy POST Bodies Can Be Buffered in rfile.

Amanqephe ahlobene