files.py
class waffleweb.files.File(name, data, contentType, size=None)
A file for post file uploads.
- Parameters:
name (
str
) - The name of the file.data (
bytes
) - The file data.contentType (
str
) - The content type of the file.size (
int
) - The size of the file.