You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, multipart's File class seems to have a serious regression compared to cgi's FieldStorage class: Where FieldStorage.type contained the declared MIME type of the uploaded file (or None if not given), File does not seem to have this information. This makes is basically impossible to download uploaded files while keeping the file type intact.
The text was updated successfully, but these errors were encountered:
Unfortunately, multipart's
File
class seems to have a serious regression compared to cgi'sFieldStorage
class: WhereFieldStorage.type
contained the declared MIME type of the uploaded file (orNone
if not given),File
does not seem to have this information. This makes is basically impossible to download uploaded files while keeping the file type intact.The text was updated successfully, but these errors were encountered: