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

Function ParseFile

thirdparty/clientform/clientform.py:1074–1088  ·  view source on GitHub ↗

Parse HTML and return a list of HTMLForm instances. ClientForm.ParseError is raised on parse errors. file: file-like object (supporting read() method) containing HTML with zero or more forms to be parsed base_uri: the URI of the document (note that the base URI used to submit

(file, base_uri, *args, **kwds)

Source from the content-addressed store, hash-verified

1072 return _ParseFileEx(response, response.geturl(), *args, **kwds)[1:]
1073
1074def ParseFile(file, base_uri, *args, **kwds):
1075 """Parse HTML and return a list of HTMLForm instances.
1076
1077 ClientForm.ParseError is raised on parse errors.
1078
1079 file: file-like object (supporting read() method) containing HTML with zero
1080 or more forms to be parsed
1081 base_uri: the URI of the document (note that the base URI used to submit
1082 the form will be that given in the BASE element if present, not that of
1083 the document)
1084
1085 For the other arguments and further details, see ParseResponse.__doc__.
1086
1087 """
1088 return _ParseFileEx(file, base_uri, *args, **kwds)[1:]
1089
1090def _ParseFileEx(file, base_uri,
1091 select_default=False,

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…