#!/usr/local/bin/python2 import mimetypes print mimetypes.guess_type('https://developer.mozilla.org/ja/docs/Web/HTTP/Basics_of_HTTP/MIME_types')