get_header_val: Retrieve the value of a specific response header

Description Usage Arguments Note See Also

View source: R/helpers.r

Description

Retrieve the value of a specific response header

Usage

1
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

Other splash_har_helpers: get_content_size(), get_content_type(), get_har_entry(), get_headers(), get_request_type(), get_request_url(), get_response_body(), get_response_url(), har_entry_count()


hrbrmstr/splashr documentation built on Feb. 23, 2020, 2:13 p.m.