1

I'm wondering whether HTTP pipelining is supported in iOS or if I have to create the body of the multipart/mixed request myself.

znq
  • 44,613
  • 41
  • 116
  • 144

3 Answers3

0

Yes HTTP pipelining is supported in ios 5, have not really tried using it.

0

Yes.

If you make request you should specify httpShouldUsePipelining.

var request = URLRequest(url: URL(string: "SOME_URL")!)

request.httpShouldUsePipelining = true
meerkat
  • 2,673
  • 5
  • 18
  • 33
0

Sort of. iOS supports HTTP pipelining for a limited set of request methods. Per https://developer.apple.com/documentation/foundation/nsmutableurlrequest/1412705-httpshouldusepipelining :

Setting this property to true value does not guarantee HTTP pipelining behavior. This may have no effect if an HTTP proxy is configured, or if the HTTP request uses an unsafe request method—for example, POST requests will not pipeline.