def raw_body(self) -> bytes:
        """ Encoded Body """
        if self._raw_body is None and self.original_body is not None:
            if isinstance(self.original_body, dict):
                self._raw_body = self.parser.encode(self.original_body)
                if isinstance(self._raw_body, str):
                    self._raw_body = self._raw_body.encode()
            elif isinstance(self.original_body, str):
                self._raw_body = self.original_body.encode()
            elif isinstance(self.original_body, bytes):
                self._raw_body = self.original_body
            else:
                self._raw_body = self.parser.encode(self.original_body)
                if isinstance(self._raw_body, str):
                    self._raw_body = self._raw_body.encode()
        return self._raw_body
Encoded Body