knitr::opts_chunk$set(collapse=TRUE, fig.retina=2, message=FALSE, warning=FALSE)
options(width=120)

Travis-CI Build Status Coverage Status CRAN_Status_Badge

hdrs

Have Some Fun with 'HTTP' Headers

Description

Methods are provided to retrieve and test 'HTTP' headers from a website. An 'HTTP' request and response header reference/explanatory data frame is also provided via the 'hsecsecan' project (https://github.com/riramar/hsecscan)

What's Inside The Tin

The following functions are implemented:

Installation

install.packages("hdrs", repos = "https://cinc.rud.is/")

Usage

library(hdrs)
library(tibble) # for printing

# current version
packageVersion("hdrs")
httr::HEAD("https://rud.is/b") %>% 
  httr::headers() %>% 
  as.data.frame()
assess_security_headers("https://cran.r-project.org") %>% 
  dplyr::select(-url) %>% 
  gt::gt()

Tsk, tsk…

assess_security_headers("https://rud.is/b") %>% 
  dplyr::select(-url) %>% 
  gt::gt()

Looks like I gots some 'splainin to do as well.

hdrs::explain_headers("https://community.rstudio.com/") %>% 
  dplyr::select(header,value, enable, security_reference, recommendations) %>% 
  gt::gt()

Reference

data(http_headers)

dplyr::glimpse(http_headers)

hdrs Metrics

cloc::cloc_pkg_md()

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.



hrbrmstr/hdrs documentation built on May 23, 2019, 4 a.m.