What I\'m trying to do here is get the headers of a given URL so I can determine the MIME type. I want to be able to see if http://somedomain/foo/ will return a
http://somedomain/foo/
I believe the Requests library should be mentioned as well.