Tools to Work with the 'Splash' JavaScript Rendering Service in R
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

get_header_val.Rd 953B

1234567891011121314151617181920212223242526272829303132
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/helpers.R
  3. \name{get_header_val}
  4. \alias{get_header_val}
  5. \title{Retrieve the value of a specific response header}
  6. \usage{
  7. get_header_val(har_resp_obj, header)
  8. }
  9. \arguments{
  10. \item{har_resp_obj}{HAR response object}
  11. \item{header}{the header you want the value for}
  12. }
  13. \description{
  14. Retrieve the value of a specific response header
  15. }
  16. \note{
  17. the \code{name} column that contains the header key is normalized to lower case
  18. as is the passed-in requested header. Also, if there is more than one only
  19. the first is returned.
  20. }
  21. \seealso{
  22. Other splash_har_helpers: \code{\link{get_content_size}},
  23. \code{\link{get_content_type}},
  24. \code{\link{get_har_entry}}, \code{\link{get_headers}},
  25. \code{\link{get_request_type}},
  26. \code{\link{get_request_url}},
  27. \code{\link{get_response_body}},
  28. \code{\link{get_response_url}},
  29. \code{\link{har_entry_count}}
  30. }
  31. \concept{splash_har_helpers}