Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Case

StreamingMultipartPartError.nextPartRequestedWhileStreamingPreviousBody

The next part was requested before the current part’s body had been fully consumed.
case nextPartRequestedWhileStreamingPreviousBody

Discussion

The parts and their bodies share a single underlying cursor, so each part’s StreamingMultipartPart/body must be fully consumed before the next part is requested.