You can parse the header content in a response sent by a REST API endpoint.
Use the headers tag in the swagger file to parse the header content. By using the Set-Cookie tag, you can also parse the cookie content as part of the header tag. REST V2 Connector parses fields defined in the swagger file. Any extra fields coming from the web service for header or cookies appear under OtherResponseHeaders or OtherCookies fields respectively.
Defining Response Headers
"responses" : {
....
"headers": {
"places": {
"type": "string",
"description": "calls per hour allowed by the user"