Source code for ac_core.interfaces.HttpUtil from typing import Protocol [docs]class HttpRespInterface(Protocol): status_code: int text: str [docs]class HttpUtilInterface(Protocol): [docs] def get(self, url: str, allow_redirects=True) -> HttpRespInterface: assert (False) [docs] def post(self, url: str, data: object, allow_redirects=True) -> HttpRespInterface: assert (False)