Package: reqres 0.2.5.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_0.2.5.9000.tar.gz
reqres_0.2.5.9000.zip(r-4.5)reqres_0.2.5.9000.zip(r-4.4)reqres_0.2.5.9000.zip(r-4.3)
reqres_0.2.5.9000.tgz(r-4.5-any)reqres_0.2.5.9000.tgz(r-4.4-any)reqres_0.2.5.9000.tgz(r-4.3-any)
reqres_0.2.5.9000.tar.gz(r-4.5-noble)reqres_0.2.5.9000.tar.gz(r-4.4-noble)
reqres_0.2.5.9000.tgz(r-4.4-emscripten)reqres_0.2.5.9000.tgz(r-4.3-emscripten)
reqres.pdf |reqres.html
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 site:https://reqres.data-imaginist.com

On CRAN:

Conda:

httphttp-serverrequestresponse

6.05 score 39 stars 2 packages 19 scripts 861 downloads 38 exports 16 dependencies

Last updated 3 days agofrom:31e1e5cd5a. Checks:1 OK, 8 WARNING. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 10 2025
R-4.5-winWARNINGMar 10 2025
R-4.5-macWARNINGMar 10 2025
R-4.5-linuxWARNINGMar 10 2025
R-4.4-winWARNINGMar 10 2025
R-4.4-macWARNINGMar 10 2025
R-4.4-linuxWARNINGMar 10 2025
R-4.3-winWARNINGMar 10 2025
R-4.3-macWARNINGMar 10 2025

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.Responseparse_htmlparse_jsonparse_multiformparse_plainparse_queryformparse_tableparse_xmlquery_parserrandom_keyRequestResponsesession_cookieto_http_date

Dependencies:base64encbrotliclicurlgluejsonlitelifecycleR6Rcpprlangsodiumstringitriebeardurltoolswebutilsxml2

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
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