Constants indicating how a data or upload session should proceed after receiving the initial headers.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
When a data or upload task first receives a response, it calls the
url method of
URLSession. Implement this method to inspect the received
URLResponse and then call the provided completion handler. The first parameter to the completion handler is of this type, a disposition that tells the task how to proceed.