Fix issues with shutdown, improve documentation
This commit is contained in:
@@ -66,6 +66,9 @@ class AbstractCommand(ABC):
|
||||
|
||||
def _build_message(self, status: int, content_type: str, body: bytes, extra_headers=None):
|
||||
|
||||
if extra_headers is None:
|
||||
extra_headers = {}
|
||||
|
||||
self._process_conditional_headers()
|
||||
|
||||
message = f"HTTP/1.1 {status} {status_message[status]}\r\n"
|
||||
|
Reference in New Issue
Block a user