def info(self) -> email.message.Message:
info = email.message.Message()
for key, value in self.response.headers.multi_items():
- # Note that setting `info[key]` here is an "append" operation,
+ # Note that setting `info[key]` here is an "append" operation,
# not a "replace" operation.
# https://docs.python.org/3/library/email.compat32-message.html#email.message.Message.__setitem__
info[key] = value
NETWORK_AUTHENTICATION_REQUIRED = 511, "Network Authentication Required"
-# Include lower-case styles for `requests` compatibility.
+# Include lower-case styles for `requests` compatibility.
for code in codes:
setattr(codes, code._name_.lower(), int(code))