Lines Matching refs:FieldStorage
88 To get at submitted form data, use the :class:`FieldStorage` class. If the form
97 The :class:`FieldStorage` instance can be indexed like a Python dictionary.
102 *keep_blank_values* keyword parameter when creating the :class:`FieldStorage`
110 form = cgi.FieldStorage()
120 :class:`FieldStorage` (or :class:`MiniFieldStorage`, depending on the form
121 encoding). The :attr:`~FieldStorage.value` attribute of the instance yields
122 the string value of the field. The :meth:`~FieldStorage.getvalue` method
127 object retrieved by ``form[key]`` is not a :class:`FieldStorage` or
131 same name), use the :meth:`~FieldStorage.getlist` method, which always returns
140 :attr:`~FieldStorage.value` attribute or the :meth:`~FieldStorage.getvalue`
143 :attr:`~FieldStorage.filename` attribute or the :attr:`~FieldStorage.file`
146 the :class:`FieldStorage` instance
159 :class:`FieldStorage` objects also support being used in a :keyword:`with`
164 a Back or Cancel button) the :attr:`~FieldStorage.done` attribute of the
169 When this occurs, the item will be a dictionary-like :class:`FieldStorage` item.
181 :class:`FieldStorage` and :class:`MiniFieldStorage` items.
184 The :attr:`~FieldStorage.file` attribute is automatically closed upon the
185 garbage collection of the creating :class:`FieldStorage` instance.
189 :class:`FieldStorage` class.
196 :class:`FieldStorage` class. This section describes a higher level interface
241 A more convenient approach is to use the methods :meth:`~FieldStorage.getfirst`
242 and :meth:`~FieldStorage.getlist` provided by this higher level interface.
245 .. method:: FieldStorage.getfirst(name, default=None)
256 .. method:: FieldStorage.getlist(name)
265 form = cgi.FieldStorage()
311 uploaded --- in that case, use the :class:`FieldStorage` class instead