Closed dev4mobile closed 1 month ago
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?
you can use bufio reader and call peek method on it.
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?