﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
11159	Test client encode_file doesn't set content-type properly	notanumber	notanumber	"The test client doesn't properly set the content-type when uploading files.  It hard-codes the content-type value to to 'application/octet-stream'.  This makes it difficult to test that code that relies on a specific content-type being set.

The encode_file method could be easily changed to make use of mimetypes.guess_type to make a best guess attempt to set a content-type, falling back to the default 'application/octet-stream'.

I've attached a patch that does this."		closed	Testing framework	1.0		fixed	encode_file content-type	varikin@…	Ready for checkin	1	0	0	0	0	0
