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

znq
- 44,613
- 41
- 116
- 144
-
Did you solve this issue/ – Amrit Tiwari Apr 26 '23 at 12:33
3 Answers
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.