event.responseHeaders

Type Table
Event networkRequest
Revision 2017.3060
Keywords networkRequest, responseHeaders

Overview

A table providing response header values with string keys.

Example

-- Print the Content-Type header value for a response
local function networkListener( event )
    print( "Content-Type of response is: " .. event.responseHeaders["Content-Type"] )
end