HI,
Does anybody have this problem?

I am trying to upload a CSV file. Here is a small part of my script:
...
file = request.files['my_file']
if file.content_type == 'text/csv':
...

In Safari it works, but in Firefox it shows all the time 'text/plain'
content type.

I put in /etc/mime.types file this line:

text/csv csv

It didn't help.

What am I doing wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" 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/pocoo-libs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to