| 485 | SC_TRY_MSG(&request.getBodyTransform()->AsyncWritableStream::getBuffersPool() == &connection->buffersPool, |
| 486 | "HttpAsyncClient body transform writable side must use the client buffers pool"); |
| 487 | } |
| 488 | } |
| 489 | if (request.getBodyType() == HttpAsyncClientRequest::BodyType::Multipart) |
| 490 | { |
| 491 | SC_TRY_MSG(request.getMultipartWriter() != nullptr, "HttpAsyncClient multipart writer missing"); |
| 492 | SC_TRY_MSG(request.getMultipartWriter()->getBoundary().sizeInBytes() > 0, |
| 493 | "HttpAsyncClient multipart boundary missing"); |
| 494 | } |
| 495 | return Result(true); |
| 496 | } |
| 497 |
nothing calls this directly
no test coverage detected