URLSession dataTask method returns 0 bytes of data
问题 I am using URLSession's dataTask method with a completion handler. The error in response is nil, but the data object returns something, it returns 0 bytes of data. I was using Alamofire library firstly, I thought there is something wrong with it because I started using newer version so I stated using my own implementation of Alamofire just so I don't have to rewrite all the calls I already have in my app. It still returns 0 bytes of data. When I use the same URL in the Playground with a