<!--
{
  "availability" : [
    "iOS: 4.0.0 - 18.4.0",
    "iPadOS: 4.0.0 - 18.4.0",
    "macCatalyst: 13.1.0 - 18.4.0",
    "macOS: 10.7.0 - 15.4.0",
    "tvOS: 9.0.0 - 18.4.0",
    "visionOS: 1.0.0 - 2.4.0",
    "watchOS: 2.0.0 - 11.4.0"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSMutableURLRequest/httpShouldUsePipelining",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSMutableURLRequest(py)HTTPShouldUsePipelining"
  },
  "title" : "httpShouldUsePipelining"
}
-->

# httpShouldUsePipelining

A Boolean value that indicates whether the request can continue transmitting data before receiving a response from an earlier transmission.

```
var httpShouldUsePipelining: Bool { get set }
```

## Discussion

<doc://com.apple.documentation/documentation/Swift/true> if the request should continue transmitting data, <doc://com.apple.documentation/documentation/Swift/false> if the request should wait for a response. The default value is <doc://com.apple.documentation/documentation/Swift/false>.

Setting this property to <doc://com.apple.documentation/documentation/Swift/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. Pipelining behavior may not begin until the second request on a given TCP connection. There may be other situations where pipelining does not occur even though this property is set to <doc://com.apple.documentation/documentation/Swift/true>. HTTP 1.1 allows the client to send multiple requests to the server without waiting for a response. Though HTTP 1.1 requires support for pipelining, some servers report themselves as being HTTP 1.1 but do not support pipelining (disconnecting, sending resources in the wrong order, omitting part of a resource, etc.).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)