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