I am using http://img.tweetimag.es/ to pull twitter avatars.
EX: http://img.tweetimag.es/i/joestump_o
How do I know the correct mime type (jpg, png, gif, etc.) to save locally?
Any help would be great, thanks.
JP
Look at the content type of the HTTP GET request. For your example:
Content-Type: image/png