I want to continuously download a stream from a website without having it take up memory. The stream is never ending, so it will keep going and occupy space in memory. I do not care about the downloaded data, and it should be discarded.
I've tried, perhaps, not associating it with a variable, but it still keeps growing endlessly.
There really isn't much code to show...
#pseudo
import requests
r = requests.get(url, headers)
# Maybe without associating it with a variable?
requests.get(url, headers)