Closed alvarhansen closed 3 years ago
Fixes NSURLErrorDomain error with code -1017 "cannot parse response".
URLSession does not support empty string header fields. If such header is set by URLRequest, the task will fail during request encoding.
To fix this issue, we do not set default empty string authorization headers.
Fixes NSURLErrorDomain error with code -1017 "cannot parse response".
URLSession does not support empty string header fields. If such header is set by URLRequest, the task will fail during request encoding.
To fix this issue, we do not set default empty string authorization headers.