But what is bothering me is iOS 8 behaviour.I'm still confused by your actual issue. I suspect you're talking about this case:you build an app using NSURLSessionyou deploy a server that supports HTTP/2on iOS 9, this will talk to your server via HTTP/2on iOS 8, this will talk to your server via HTTP/1.1 or SPDYon iOS 7, this will talk to your server via HTTP/1.1Whether this works really depends on your server. Ignoring iOS 8 and SPDY for the moment, consider the iOS 7 case. Here iOS is simply going to open the connection and send an HTTP command. What does your server do in that case? It should handle it correctly, but iOS can't guarantee that.OTOH, if I read your original question literally, you seem to be asking about this case:you build an app using NSURLSessionyou deploy a server that supports HTTP/2on iOS 9, this will talk to your server via HTTP/2on iOS 8, will it send HTTP/2 requests?The answer here is no: the HTTP/2 support is part of iOS 9, and thus won't be available on earlier OS releases.OTOH, iOS
Topic:
App & System Services
SubTopic:
Networking
Tags: