How to disable HTTP/2 in NSURLSession?
How to disable HTTP/2 in NSURLSession?
- Subject: How to disable HTTP/2 in NSURLSession?
- From: Jens Alfke <email@hidden>
- Date: Tue, 17 May 2016 09:16:37 -0700
Is there any way to configure an NSURLSession (in iOS 9 / OS X 10.11) to _not_ use HTTP/2?
I have two reasons for wanting this:
1. I think I’ve found some compatibility problems, either in NSURLSession or on the server side, that are causing errors when my library communicates over HTTP/2. I may need to disable it when talking to this type of server.
2. I have debugging tools like HTTPScoop that don’t support HTTP/2. Yesterday I really needed to use HTTPScoop to view HTTP traffic to troubleshoot a bug, but I couldn’t because I had no way to fall back to HTTP/1.1.
—Jens
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden