A Bark logging handler logging output to an HTTP server, using
    either GET or POST semantics.

    Similar to logging.handlers.HTTPHandler.

def http_handler(name, logname, host, url, method="GET"):
    """
    A Bark logging handler logging output to an HTTP server, using
    either GET or POST semantics.

    Similar to logging.handlers.HTTPHandler.
    """

    return wrap_log_handler(logging.handlers.HTTPHandler(
        host, url, method=method))