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

Function ParseResponseEx

thirdparty/clientform/clientform.py:944–976  ·  view source on GitHub ↗

Identical to ParseResponse, 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 (backwa

(response,
                    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

942
943
944def ParseResponseEx(response,
945 select_default=False,
946 form_parser_class=FormParser,
947 request_class=_urllib.request.Request,
948 entitydefs=None,
949 encoding=DEFAULT_ENCODING,
950
951 # private
952 _urljoin=_urllib.parse.urljoin,
953 _urlparse=_urllib.parse.urlparse,
954 _urlunparse=_urllib.parse.urlunparse,
955 ):
956 """Identical to ParseResponse, except that:
957
958 1. The returned list contains an extra item. The first form in the list
959 contains all controls not contained in any FORM element.
960
961 2. The arguments ignore_errors and backwards_compat have been removed.
962
963 3. Backwards-compatibility mode (backwards_compat=True) is not available.
964 """
965 return _ParseFileEx(response, response.geturl(),
966 select_default,
967 False,
968 form_parser_class,
969 request_class,
970 entitydefs,
971 False,
972 encoding,
973 _urljoin=_urljoin,
974 _urlparse=_urlparse,
975 _urlunparse=_urlunparse,
976 )
977
978def ParseFileEx(file, base_uri,
979 select_default=False,

Callers

nothing calls this directly

Calls 2

_ParseFileExFunction · 0.85
geturlMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…