aidputils.agents.tools.http.parsers.base_parser¶
Base class for response parsers.
Provides the abstract interface for parsing HTTP response data into structured formats.
- class aidputils.agents.tools.http.parsers.base_parser.ResponseParser[source]¶
Bases:
ABCBase class for response parsers.
- abstractmethod classmethod content_types() List[str][source]¶
Return list of content-types this parser handles.
Examples: [‘application/json’], [‘text/html’], [‘text/plain’, ‘/’]
- Returns:
List of content-type strings (may include wildcards)