resp_headers(Req :: cowboy_req:req()) -> cowboy:http_headers()
cowboy_req:resp_headers - Response headers
resp_headers(Req :: cowboy_req:req()) -> cowboy:http_headers()
Return all response headers.
The Req object.
Headers are returned as a map with keys being lowercase binary strings, and values as binary strings.
2.0: Function introduced.
Headers = cowboy_req:resp_headers(Req).