How do I read response headers?
Response::$headers is a public property, which means you can access it with $response-&gt;headers, where contains an object of the ResponseHeaderBag class or some inherited class of it.

Essentially, it means you can access the headers using either ResponseHeaderBag::all or ResponseHeaderBag::get($key).