| 613 | { |
| 614 | Span<const char> data; |
| 615 | SC_ASSERT_RELEASE(connection != nullptr); |
| 616 | SC_ASSERT_RELEASE(connection->request.getReadableStream().getBuffersPool().getReadableData(bufferID, data)); |
| 617 | SC_ASSERT_RELEASE(append(data)); |
| 618 | SC_ASSERT_RELEASE(connection->request.consumeBodyBytes(data.sizeInBytes())); |
| 619 | } |
| 620 | |
| 621 | void onPatchEnd() |
| 622 | { |
| 623 | test->recordExpectation("patch body", |