A mutable object that represents a URL load request that bridges to
NSMutable when you need reference semantics or other Foundation-specific behavior.
- iOS 2.0+
- macOS 10.2+
- tvOS 9.0+
- watchOS 2.0+
NSMutable is a subclass of
NSURLRequest provided to aid developers who may find it more convenient to mutate a single request object for a series of URL load requests instead of creating an immutable
NSURLRequest object for each load.
NSURLRequest, is designed to be extended to support additional protocols by adding categories that provide accessor methods for your own protocol-specific properties. Those methods can get and set the actual values by calling the
Reserved HTTP Headers
The URL Loading System is designed to handle various aspects of the HTTP protocol for you. As a result, you should not modify the following headers using the