Description Usage Arguments See Also
Retrieve or test content type of a HAR request object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | get_content_type(har_resp_obj)
is_content_type(har_resp_obj, type = "application/json")
is_json(har_resp_obj)
is_xml(har_resp_obj)
is_css(har_resp_obj)
is_plain(har_resp_obj)
is_binary(har_resp_obj)
is_javascript(har_resp_obj)
is_html(har_resp_obj)
is_jpeg(har_resp_obj)
is_png(har_resp_obj)
is_svg(har_resp_obj)
is_gif(har_resp_obj)
is_xhr(har_resp_obj)
|
har_resp_obj |
a reponse object from [render_har()] or [execute_lua()] |
type |
content type to compare to (default: " |
Other splash_har_helpers:
get_content_size()
,
get_har_entry()
,
get_header_val()
,
get_headers()
,
get_request_type()
,
get_request_url()
,
get_response_body()
,
get_response_url()
,
har_entry_count()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.