werkzeug.Request.files¶
-
Request.files¶ MultiDictobject containing all uploaded files. Each key infilesis the name from the<input type="file" name="">. Each value infilesis a WerkzeugFileStorageobject.Note that
fileswill only contain data if the request method was POST, PUT or PATCH and the<form>that posted to the request hadenctype="multipart/form-data". It will be empty otherwise.See the
MultiDict/FileStoragedocumentation for more details about the used data structure.