This class is used internally by FieldStorage and is not
meant to be instantiated by the user. Each instance of a Field
class represents an HTML Form input.
Field instances have the following attributes:
The input name.
The input value. This attribute can be used to read data from a file
upload as well, but one has to exercise caution when dealing with
large files since when accessed via value, the whole file is
read into memory.
This is a file object. For file uploads it points to a temporary file.
For simple values, it is a StringIO object, so you can read
simple string values via this attribute instead of using the value
attribute as well.
The name of the file as provided by the client.
The content-type for this input as provided by the client.
This is what follows the actual content type in the
header provided by the client, if anything. This is a dictionary.
The value of the first part of the
The second part (if any) of the
content-disposition header in
the form of a dictionary.