Network utilities for the Pi Portal Project.
Remote HTTP server client.
log (Logger) – A logging instance.
Logger
Fetch a remote URL and save to a local file system target.
url (str) – The remote URL to fetch.
str
target (Optional[str], default: None) – The local path to write the content to.
Optional
None
Response
The http response object.
Raised when the HTTP client encounters an error.
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.