filetype icon indicating copy to clipboard operation
filetype copied to clipboard

How do I get the http streaming file type

Open dev4mobile opened this issue 2 years ago • 1 comments

I would like to retrieve an HTTP response file in a streaming manner. What is the best approach for detecting the file type during the streaming process?

dev4mobile avatar Jun 05 '23 03:06 dev4mobile

you can use bufio reader and call peek method on it.

bokunodev avatar Jan 25 '24 06:01 bokunodev