how to use pycurl if requested data is sometimes gzipped, sometimes not?
How to read the header with pycurl
Parsing gzipped log file line by line inside a tar gzipped file Reading gzipped text file line-by-line for processing in python 3.2.6 modify gzipped file with python Python: what is the correct way to handle gzipped json? Sometimes None is printed - and sometimes it doesn't, can't get why? Email body is a string sometimes and a list sometimes. Why? Python: PyCurl set URL exception Custom pycurl call How do I install pyCurl? Form data in pycurl request getting the file size with pycurl PyCurl installed but not found Getting HTML with Pycurl Putting gzipped data into a script as a string Weird error—sometimes it shows and sometimes not reading gzipped csv file in python 3 what is the use of pycurl.INFOTYPE_HEADER_OUT? Sometimes it gives output and sometimes index error How to determine the Content-Length of a gzipped file in Python? Sometimes, map is a sequence, sometimes not? Sending gzipped form data why python's apply function sometimes can, sometimes can not change the value of dataframe? Why can't I POST to Django with pyCurl? Python statement: sometimes True, sometimes False. Why? Python - parameters sometimes yes and sometimes no reading JSON file sometimes working and sometimes not working (Python) Python to check if a gzipped file is xml or csv Pycurl list set options gzipped data "not a gzipped file", but I think it is