---
title: "urlSession(_:task:didReceiveInformationalResponse:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/urlsessiontaskdelegate/urlsession(_:task:didreceiveinformationalresponse:)"
---

# urlSession(_:task:didReceiveInformationalResponse:)

## Declaration

```swift
optional func urlSession(_ session: URLSession, task: URLSessionTask, didReceiveInformationalResponse response: HTTPURLResponse)
```
