runtimepy
.
net
.
http
.version
index
/home/vkottler/src/vkottler/workspace/runtimepy/runtimepy/net/http/version.py
A module implementing an interface for HTTP versions.
Classes
builtins.object
HttpVersion
class
HttpVersion
(
builtins.object
)
HttpVersion
(version_raw: str) -> None
A class implementing a simple HTTP version interface.
Methods defined here:
__init__
(self, version_raw: str) -> None
Initialize this instance.
__str__
(self) -> str
Get this instance as a string.
Static methods defined here:
create
(major: int = 1, minor: int = 1) -> 'HttpVersion'
Create a version instance.
version_str
(major: int = 1, minor: int = 1) -> str
Get version information as a string.
Data descriptors defined here:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object
Data
DEFAULT_MAJOR
= 1
DEFAULT_MINOR
= 1