---
title: originalRequest
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsurlconnection/originalrequest
---

# originalRequest

A deep copy of the original connection request.

## Declaration

```swift
var originalRequest: URLRequest { get }
```

## Discussion

Discussion As the connection performs the load, the request may change as a result of protocol canonicalization or due to following redirects. currentRequest can be used to retrieve this value.

## See Also

### Connection URL Information

- [currentRequest](foundation/nsurlconnection/currentrequest.md)
