MCPcopy Create free account
hub / github.com/etesync/server / body

Method body

etebase_server/fastapi/msgpack.py:18–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16 return await super().body()
17
18 async def body(self) -> bytes:
19 if not hasattr(self, "_json"):
20 body = await self.raw_body()
21 self._json = msgpack_decode(body)
22 return self._json
23
24
25class MsgpackResponse(Response):

Callers 2

raw_bodyMethod · 0.80
chunk_updateFunction · 0.80

Calls 2

raw_bodyMethod · 0.95
msgpack_decodeFunction · 0.85

Tested by

no test coverage detected