NSURLErrorRequestBodyStreamExhausted
A body stream was needed but the client did not provide one.
Declaration
var NSURLErrorRequestBodyStreamExhausted: Int { get }Discussion
This impacts clients on iOS that send a POST request using a body stream but do not implement the URLSessionTaskDelegate delegate method urlSession(_:task:needNewBodyStream:).
See Also
URL Errors
NSURLErrorAppTransportSecurityRequiresSecureConnectionNSURLErrorBackgroundSessionInUseByAnotherProcessNSURLErrorBackgroundSessionRequiresSharedContainerNSURLErrorBackgroundSessionWasDisconnectedNSURLErrorBadServerResponseNSURLErrorBadURLNSURLErrorCallIsActiveNSURLErrorCancelledNSURLErrorCannotCloseFileNSURLErrorCannotConnectToHostNSURLErrorCannotCreateFileNSURLErrorCannotDecodeContentDataNSURLErrorCannotDecodeRawDataNSURLErrorCannotFindHostNSURLErrorCannotLoadFromNetwork