FlorianREGAZ / Python-Tls-Client

Advanced HTTP Library
MIT License
660 stars 136 forks source link

Support streaming response #62

Closed xtekky closed 1 year ago

xtekky commented 1 year ago

Is accepting a streaming response already implemented ? It would be nice being able to use something like:

response = requests.get('https://example.com/stream', stream=True)
for chunk in response.iter_content(chunk_size=1024)
    print(chunk)
ading2210 commented 1 year ago

@xtekky By the way did you ever get streaming to work with this library? I see you've marked it as resolved.

acheong08 commented 1 year ago

Streaming works by writing to a temporary file

acheong08 commented 1 year ago

Using a different but similar library for tls spoofing + streaming

a410202049 commented 1 year ago

请问下 你怎么实现的 流式 处理呢?