Retrieve the value of a specific response header

get_header_val(har_resp_obj, header)

Arguments

har_resp_obj

HAR response object

header

the header you want the value for

Note

the name column that contains the header key is normalized to lower case as is the passed-in requested header. Also, if there is more than one only the first is returned.

See also