I suppose as @whimboo says we are now storing the file with the version number, so we can simply check if the file is present locally. If we want to check further, the last-modified header can be compared with the date on the local file. I'd personally prefer urllib2 for something like this to reduce dependencies.