#10115: Allow test client to guess files' mimetypes
-------------------------------+--------------------------------------------
 Reporter:  julien             |       Owner:  nobody    
   Status:  new                |   Milestone:            
Component:  Testing framework  |     Version:  1.0       
 Keywords:                     |       Stage:  Unreviewed
Has_patch:  1                  |  
-------------------------------+--------------------------------------------
 Currently, all files posted through the test client are sent as
 'application/octet-stream'. To test views that rely on mimetypes you have
 to create a request object from scratch, which is quite tedious. It'd be
 nice to allow python to guess the mimetypes (therefore simulating a
 browser's encoding) to make the process easier.

 See discussion in django-users list: http://groups.google.com/group
 /django-users/browse_thread/thread/4e168903ec91b068

 See also patch attached.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10115>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to