There is no specific limit on the maximum value for the Content-Length.
https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13
14.13 Content-Length
Any Content-Length greater than or equal to zero is a valid value.
Also the Apple documentation for setValue:forHTTPHeaderField:
in the NSMutableURLRequest
class reference states
Additionally, if the length of your upload body data can be determined automatically (for example, if you provide the body content with an NSData object), then the value of Content-Length is set for you.