Accessing response headers of REST API query

I am using a REST resource (in this case the Shopify orders endpoint) and get some data from there. I would like to access the response headers in a JS transformer (specifically the "Link" header) but it seems like headers cannot be accessed there?
Is there any way to access those headers in JS transformers, or in regular JS actions?

Thanks a lot!