response expectedContentLength return -1
Ok i’ve fix it myself here is my real problem and a solution : When i ask with Curl i can get the length no problem. But when i use NSurlConnection NSURLConnection *c = [[NSURLConnection alloc] initWithRequest:req delegate:self]; The response will be compress with “Gzip” (don’t ask me why). And if the response is encode … Read more