url-file-extension
url-file-extension is an autoloaded compiled Lisp function in `url-util.el
'.
(url-file-extension FNAME &optional X)
Return the filename extension of FNAME.
If optional argument X is t, then return the basename
of the file with the extension stripped off.