mirror of
https://git.proxmox.com/git/mirror_edk2
synced 2025-10-26 15:57:07 +00:00
Signed-off-by: lpleahy
----- UnbufferedRead.py -----
import httplib
conn = httplib.HTTPConnection("10.241.97.30")
conn.request('GET', '/')
resp = conn.getresponse(buffering=True)
if resp.status != 200:
print "status:", resp.status
print "aborting"
sys.exit(1)
while True:
chunk = resp.read()
if not chunk:
break
print chunk
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13077 6f19259b-4bc3-4df7-8a09-765794883524
|
||
|---|---|---|
| .. | ||
| DxeSupport.c | ||
| EfiSocketLib.inf | ||
| Init.c | ||
| Ip4.c | ||
| ReleaseNotes.txt | ||
| Service.c | ||
| Socket.c | ||
| Socket.h | ||
| Tcp4.c | ||
| Tcp6.c | ||
| Udp4.c | ||
| Udp6.c | ||
| UseEfiSocketLib.c | ||