Ensure encoded multipart body stream has appropriate length. (#3420)
* Ensure that the encoded body stream data has expected length (#3380)
* Ensure that the encoded body stream data has expected length
* Using a custom error for unexpected stream length instead of extending MultipartEncodingFailureReason
* Making `bytesExpected` and `bytesRead` of `UnexpectedInputStreamLengthError` public
* Slight cleanup.
Co-authored-by: NYu Ao <YuAo@users.noreply.github.com>
Showing
想要评论请 注册 或 登录