Searched refs:FieldStorage (Results 1 – 25 of 28) sorted by relevance
12
/external/python/cpython3/Lib/test/ |
D | test_cgi.py | 114 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/ |
D | cgi.rst | 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` [all …]
|
/external/python/cpython2/Doc/library/ |
D | cgi.rst | 91 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/ |
D | test_cgi.py | 115 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/ |
D | cgi2.py | 10 form = cgi.FieldStorage()
|
D | wiki.py | 7 form = cgi.FieldStorage()
|
/external/autotest/tko/ |
D | jsonp_fetcher.cgi | 16 form = cgi.FieldStorage(keep_blank_values=True)
|
D | save_query.cgi | 7 form = cgi.FieldStorage()
|
D | test.cgi | 20 form = cgi.FieldStorage()
|
D | retrieve_logs.cgi | 35 form = cgi.FieldStorage(keep_blank_values=True)
|
D | compose_query.cgi | 104 form = cgi.FieldStorage()
|
/external/python/cpython3/Lib/ |
D | cgi.py | 221 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/ |
D | httpd.py | 58 form = cgi.FieldStorage( 142 form = cgi.FieldStorage(
|
/external/python/cpython2/Lib/ |
D | cgi.py | 352 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/ |
D | faqwiz.py | 186 self.__form = cgi.FieldStorage() 414 form = cgi.FieldStorage()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0a2.rst | 357 Fix issue where cgi.FieldStorage did not always ignore the entire preamble
|
D | 3.7.2rc1.rst | 481 Adding ``max_num_fields`` to ``cgi.FieldStorage`` to make DOS attacks harder 483 ``FieldStorage``.
|
D | 3.7.0b5.rst | 346 Add errors param to cgi.parse_multipart and make an encoding in FieldStorage
|
D | 3.5.1rc1.rst | 855 cgi.FieldStorage.read_multi() now ignores the Content-Length header in part
|
D | 3.7.0a1.rst | 2764 rewrite cgi.parse_multipart, reusing the FieldStorage class and making its 2765 results consistent with those of FieldStorage for multipart/form-data
|
D | 3.5.0a1.rst | 740 cgi.FieldStorage() now supports the context management protocol.
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.6rc1.rst | 672 cgi.FieldStorage no longer fails to handle multipart/form-data when \r\n
|
D | 2.6a1.rst | 2121 optimize performance of cgi.FieldStorage operations.
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 2373 * 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.
|
D | 3.5.rst | 881 The :class:`~cgi.FieldStorage` class now supports the :term:`context manager`
|
12