Package: reqres 1.2.0.9000

reqres: Powerful Classes for HTTP Requests and Responses

In order to facilitate parsing of http requests and creating appropriate responses this package provides two classes to handle a lot of the housekeeping involved in working with http exchanges. The infrastructure builds upon the 'rook' specification and is thus well suited to be combined with 'httpuv' based web servers.

Authors:Thomas Lin Pedersen [cre, aut]

reqres_1.2.0.9000.tar.gz
reqres_1.2.0.9000.zip(r-4.7)reqres_1.2.0.9000.zip(r-4.6)reqres_1.2.0.9000.zip(r-4.5)
reqres_1.2.0.9000.tgz(r-4.6-x86_64)reqres_1.2.0.9000.tgz(r-4.6-arm64)reqres_1.2.0.9000.tgz(r-4.5-x86_64)reqres_1.2.0.9000.tgz(r-4.5-arm64)
reqres_1.2.0.9000.tar.gz(r-4.7-arm64)reqres_1.2.0.9000.tar.gz(r-4.7-x86_64)reqres_1.2.0.9000.tar.gz(r-4.6-arm64)reqres_1.2.0.9000.tar.gz(r-4.6-x86_64)
reqres_1.2.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
reqres/json (API)
NEWS

# Install 'reqres' in R:
install.packages('reqres', repos = c('https://thomasp85.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/thomasp85/reqres/issues

Pkgdown/docs site:https://reqres.data-imaginist.com

On CRAN:

Conda:

httphttp-serverrequestresponse

7.07 score 40 stars 8 packages 20 scripts 1.3k downloads 43 exports 22 dependencies

Last updated from:cde442af39. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK127
linux-devel-x86_64OK137
source / vignettesOK165
linux-release-arm64OK166
linux-release-x86_64OK134
macos-release-arm64OK110
macos-release-x86_64OK231
macos-oldrel-arm64OK82
macos-oldrel-x86_64OK153
windows-develOK128
windows-releaseOK90
windows-oldrelOK105
wasm-releaseOK122

Exports:abort_bad_requestabort_conflictabort_forbiddenabort_goneabort_http_problemabort_internal_errorabort_method_not_allowedabort_not_acceptableabort_not_foundabort_statusabort_unauthorizedas.Requestdefault_formattersdefault_parsersformat_htmlformat_jsonformat_plainformat_tableformat_xmlfrom_http_datehandle_problemis_reqres_problemis_session_cookie_settingsis.Requestis.Responsemaybe_requestmime_type_from_filemime_type_infomock_requestparse_htmlparse_jsonparse_multiformparse_plainparse_queryformparse_tableparse_xmlquery_parserrandom_keyRequestResponsesession_cookieto_http_dateunclass_request

Dependencies:base64encbrotliclicurlfastmapjsonlitelaterlifecyclemagrittrmirainanonextotelpromisesR6Rcpprlangsodiumstringitriebeardurltoolswebutilsxml2

Readme and manuals

Help Manual

Help pageTopics
Abort request processing with an HTTP problem responseabort_bad_request abort_conflict abort_forbidden abort_gone abort_http_problem abort_internal_error abort_method_not_allowed abort_not_acceptable abort_not_found abort_status abort_unauthorized handle_problem is_reqres_problem
A list of default formatter mappingsdefault_formatters
A list of default parser mappingsdefault_parsers
Pre-supplied formatting generatorsformatters format_html format_json format_plain format_table format_xml
Create a mock request to use in testingmock_request
Pre-supplied parsing generatorsparsers parse_html parse_json parse_multiform parse_plain parse_queryform parse_table parse_xml
Parse a query stringquery_parser
Generate a random key compatible with encryption and decryption in requests and responsesrandom_key
HTTP Request Handlingas.Request is.Request Request
HTTP Response handlingas.list.Response is.Response Response
Collect settings for a session cookieis_session_cookie_settings session_cookie
Format timestamps to match the HTTP specsfrom_http_date to_http_date