I have a similar problem and I think I'm on something, so can you check the Content-Type Header?
func HeaderFromNSURL(url: NSURL) { println("TEST HEADER") for header in NSURLRequest(URL:url).allHTTPHeaderFields! as! [String : String] { println("key: " + header.0 + " content" + header.1)
}
Println ("/////////////////////////////////////")
}
Mine does not contain a good Content-type header I think this is a redirect problem
kholl
source share