Pylons/webob — pull request #51 by twillis (2012-05-28 20:03:35+00:00)
Title: add content_type based on filename if it can't be determined otherwise

get mime_type from file_name and use as content-type if can't be determined in other ways

webtest does this already. But since webob is taking on more client-like functionality, this might be useful.

It didn't break anything in 2.7 at least.