News for hackers. Stuff that matters.
Re:On incomplete HTTP reads and the requests library in Python by greglindahl on Sunday April 22, 2018 @08:45PM (#16899670)
You could consider using websockets, which are intended to be used the way you're trying to use chunking.
Re:On incomplete HTTP reads and the requests library in Python by cryptonector on Monday April 23, 2018 @09:51AM (#16903368)
I'm aware. But this is easier to use. For example, here's how you tail some log file: curl -H 'Range: bytes=0-' https://foo.example/bar.log.