Home
last modified time | relevance | path

Searched refs:FieldStorage (Results 1 – 25 of 28) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_cgi.py114 form = cgi.FieldStorage(fp=fake_stdin, environ=environ, encoding=encoding)
152 fs = cgi.FieldStorage()
160 self.assertRaises(TypeError, cgi.FieldStorage, "not-a-file-obj",
162 self.assertRaises(TypeError, cgi.FieldStorage, "foo", "bar")
163 fs = cgi.FieldStorage(headers={'content-type':'text/plain'})
184 fs = cgi.FieldStorage(environ=env)
244 fs = cgi.FieldStorage(fp=f, environ=env)
259 fs = cgi.FieldStorage(fp, environ=env, encoding="latin-1")
278 fs = cgi.FieldStorage(fp, environ=env, encoding="latin-1")
296 fs = cgi.FieldStorage(fp, environ=env,encoding=encoding)
[all …]
/external/python/cpython3/Doc/library/
Dcgi.rst88 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`
[all …]
/external/python/cpython2/Doc/library/
Dcgi.rst91 To get at submitted form data, it's best to use the :class:`FieldStorage` class.
98 The :class:`FieldStorage` instance can be indexed like a Python dictionary.
103 *keep_blank_values* keyword parameter when creating the :class:`FieldStorage`
111 form = cgi.FieldStorage()
121 :class:`FieldStorage` (or :class:`MiniFieldStorage`, depending on the form
122 encoding). The :attr:`~FieldStorage.value` attribute of the instance yields
123 the string value of the field. The :meth:`~FieldStorage.getvalue` method
128 object retrieved by ``form[key]`` is not a :class:`FieldStorage` or
132 same name), use the :meth:`~FieldStorage.getlist` method, which always returns
141 :attr:`~FieldStorage.value` attribute or the :func:`~FieldStorage.getvalue`
[all …]
/external/python/cpython2/Lib/test/
Dtest_cgi.py115 form = cgi.FieldStorage(fp=fake_stdin, environ=environ)
141 fs = cgi.FieldStorage(environ=env)
231 fs = cgi.FieldStorage(fp=f, environ=env)
238 fs = cgi.FieldStorage()
268 fs = cgi.FieldStorage(fp=StringIO(postdata), environ=env)
/external/python/cpython2/Demo/cgi/
Dcgi2.py10 form = cgi.FieldStorage()
Dwiki.py7 form = cgi.FieldStorage()
/external/autotest/tko/
Djsonp_fetcher.cgi16 form = cgi.FieldStorage(keep_blank_values=True)
Dsave_query.cgi7 form = cgi.FieldStorage()
Dtest.cgi20 form = cgi.FieldStorage()
Dretrieve_logs.cgi35 form = cgi.FieldStorage(keep_blank_values=True)
Dcompose_query.cgi104 form = cgi.FieldStorage()
/external/python/cpython3/Lib/
Dcgi.py221 fs = FieldStorage(fp, headers=headers, encoding=encoding, errors=errors,
286 class FieldStorage: class
859 form = FieldStorage() # Replace with other classes to test those
879 form = FieldStorage() # Replace with other classes to test those
/external/autotest/client/cros/
Dhttpd.py58 form = cgi.FieldStorage(
142 form = cgi.FieldStorage(
/external/python/cpython2/Lib/
Dcgi.py352 class FieldStorage: class
902 form = FieldStorage() # Replace with other classes to test those
922 form = FieldStorage() # Replace with other classes to test those
/external/python/cpython2/Tools/faqwiz/
Dfaqwiz.py186 self.__form = cgi.FieldStorage()
414 form = cgi.FieldStorage()
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a2.rst357 Fix issue where cgi.FieldStorage did not always ignore the entire preamble
D3.7.2rc1.rst481 Adding ``max_num_fields`` to ``cgi.FieldStorage`` to make DOS attacks harder
483 ``FieldStorage``.
D3.7.0b5.rst346 Add errors param to cgi.parse_multipart and make an encoding in FieldStorage
D3.5.1rc1.rst855 cgi.FieldStorage.read_multi() now ignores the Content-Length header in part
D3.7.0a1.rst2764 rewrite cgi.parse_multipart, reusing the FieldStorage class and making its
2765 results consistent with those of FieldStorage for multipart/form-data
D3.5.0a1.rst740 cgi.FieldStorage() now supports the context management protocol.
/external/python/cpython2/Misc/NEWS.d/
D2.7.6rc1.rst672 cgi.FieldStorage no longer fails to handle multipart/form-data when \r\n
D2.6a1.rst2121 optimize performance of cgi.FieldStorage operations.
/external/python/cpython3/Doc/whatsnew/
D3.4.rst2373 * The :attr:`~cgi.FieldStorage.file` attribute is now automatically closed when
2374 the creating :class:`cgi.FieldStorage` instance is garbage collected. If you
2375 were pulling the file object out separately from the :class:`cgi.FieldStorage`
2377 entire :class:`cgi.FieldStorage` instance or read the contents of the file
2378 before the :class:`cgi.FieldStorage` instance is garbage collected.
D3.5.rst881 The :class:`~cgi.FieldStorage` class now supports the :term:`context manager`

12