MCPcopy
hub / github.com/encode/starlette / on_part_data

Function on_part_data

tests/test_responses.py:843–844  ·  tests/test_responses.py::on_part_data
(data: bytes, start: int, end: int)

Source from the content-addressed store, hash-verified

841 current_headers = {}
842
843 def on_part_data(data: bytes, start: int, end: int) -> None:
844 parts.append(MultipartPart(current_headers, data[start:end]))
845
846 def on_header_field(data: bytes, start: int, end: int) -> None:
847 nonlocal current_header_field

Callers

nothing calls this directly

Calls 2

MultipartPartClass · 0.70
appendMethod · 0.45

Tested by

no test coverage detected