on_status Event

Fired when the HTTP status line is received from the server.


class WebDAVStatusEventParams(object):
  def http_version() -> str: ...
  def status_code() -> int: ...
  def description() -> str: ...

# In class WebDAV:
def on_status() -> Callable[[WebDAVStatusEventParams], None]: ...
def on_status(event_hook: Callable[[WebDAVStatusEventParams], None]) -> None: ...


HTTPVersion is a string containing the HTTP version string as returned from the server (e.g. "1.1").

StatusCode contains the HTTP status code (e.g. 200), and Description the associated message returned by the server (e.g. "OK").

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Python Edition - Version 20.0 [Build 8161]