Skip to contents

reqres (development version)

  • Use rlang native type checking instead of assertthat
  • Avoid request parsing until needed (if ever)
  • Fix bug that resulted in unintentional splitting of headers containing date-times (#11)
  • Improved query parsing that properly handles various forms of array notation (exploded and non-exploded with different delimiters).
  • BREAKING: query values are no longer automatically type converted during parsing as this could lead to loss of information.
  • DEPRECATED: Request$parse(), Response$set_links(), and Response$format() has soft deprecated passing in a list of values as the first element. Instead use !!! splicing
  • Response$status_with_text() now has a clear_headers argument
  • Added Response$set_formatter() method and Response$formatter and Response$is_formatted fields to allow delaying formatting until the response is sent off
  • The Date header is now always added if missing
  • Request$is() is now vectorised and provides the prefered choice as an attribute in the return

reqres 0.2.5

CRAN release: 2022-08-19

  • General upkeep
  • Fix bug whith unnamed cookies (#12)

reqres 0.2.3

CRAN release: 2019-10-02

reqres 0.2.2

CRAN release: 2018-11-12

  • Fixed bug in querystring parsing where the first key would retain the ?

reqres 0.2.1

CRAN release: 2017-10-25

  • Added querystring field to Request.
  • Added calculate_length() method to Response.
  • Added as_message() method to Request and Response.

reqres 0.2.0

CRAN release: 2017-08-12

  • Moved to a shallow dependency of Rook, making it easier to substitute or expand to other request formats
  • Added content negotiation and body parsing and formatting

reqres 0.1.0

  • Migrated Request and Response classes from routr