Pylons/webtest — pull request #87 by mgedmin (2013-09-16 15:08:33+00:00)
Title: Allow specifying the MIME type of an uploaded file

This adds a new optional argument to webtest.forms.Upload() that lets you explicitly specify the content type of the uploaded file. If not specified or false-ish (None, ''), webtest will continue using mimetypes.guess_type like it used to.

Fixes #86