Public Member Functions | |
def | __init__ |
def | __iter__ |
def | __repr__ |
Public Attributes | |
content | |
content_type | |
filename |
A file to upload:: >>> Upload('filename.txt', 'data', 'application/octet-stream') <Upload "filename.txt"> >>> Upload('filename.txt', 'data') <Upload "filename.txt"> >>> Upload("README.txt") <Upload "README.txt"> :param filename: Name of the file to upload. :param content: Contents of the file. :param content_type: MIME type of the file.
def webtest.forms.Upload.__init__ | ( | self, | |
filename, | |||
content = None , |
|||
content_type = None |
|||
) |
def webtest.forms.Upload.__iter__ | ( | self | ) |
def webtest.forms.Upload.__repr__ | ( | self | ) |