requestBodyStreamExhausted
A body stream is needed but the client did not provide one.
Declaration
static var requestBodyStreamExhausted: URLError.Code { get }Discussion
This impacts clients on iOS that send a POST request using a body stream but do not implement the URLSessionTaskDelegate method urlSession(_:task:needNewBodyStream:).
See Also
Error codes
appTransportSecurityRequiresSecureConnectionbackgroundSessionInUseByAnotherProcessbackgroundSessionRequiresSharedContainerbackgroundSessionWasDisconnectedbadServerResponsebadURLcallIsActivecancelledcannotCloseFilecannotConnectToHostcannotCreateFilecannotDecodeContentDatacannotDecodeRawDatacannotFindHostcannotLoadFromNetwork