MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / ParseFileEx

Function ParseFileEx

thirdparty/clientform/clientform.py:978–1010  ·  view source on GitHub ↗

Identical to ParseFile, except that: 1. The returned list contains an extra item. The first form in the list contains all controls not contained in any FORM element. 2. The arguments ignore_errors and backwards_compat have been removed. 3. Backwards-compatibility mode (backwards_

(file, base_uri,
                select_default=False,
                form_parser_class=FormParser,
                request_class=_urllib.request.Request,
                entitydefs=None,
                encoding=DEFAULT_ENCODING,

                # private
                _urljoin=_urllib.parse.urljoin,
                _urlparse=_urllib.parse.urlparse,
                _urlunparse=_urllib.parse.urlunparse,
                )

Source from the content-addressed store, hash-verified

976 )
977
978def ParseFileEx(file, base_uri,
979 select_default=False,
980 form_parser_class=FormParser,
981 request_class=_urllib.request.Request,
982 entitydefs=None,
983 encoding=DEFAULT_ENCODING,
984
985 # private
986 _urljoin=_urllib.parse.urljoin,
987 _urlparse=_urllib.parse.urlparse,
988 _urlunparse=_urllib.parse.urlunparse,
989 ):
990 """Identical to ParseFile, except that:
991
992 1. The returned list contains an extra item. The first form in the list
993 contains all controls not contained in any FORM element.
994
995 2. The arguments ignore_errors and backwards_compat have been removed.
996
997 3. Backwards-compatibility mode (backwards_compat=True) is not available.
998 """
999 return _ParseFileEx(file, base_uri,
1000 select_default,
1001 False,
1002 form_parser_class,
1003 request_class,
1004 entitydefs,
1005 False,
1006 encoding,
1007 _urljoin=_urljoin,
1008 _urlparse=_urlparse,
1009 _urlunparse=_urlunparse,
1010 )
1011
1012def ParseResponse(response, *args, **kwds):
1013 """Parse HTTP response and return a list of HTMLForm instances.

Callers

nothing calls this directly

Calls 1

_ParseFileExFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…