Skip to content

Commit

Permalink
(www/R-webfakes) Updated 1.1.6 to 1.2.0
Browse files Browse the repository at this point in the history
# webfakes 1.2.0

* The httpbin app now implements the `/brotli`, `/deflate`, `/digest-auth`
  `/forms/post`, `/hidden-basic-auth`, `/range/:n`, `/stream/:n`, `/cache`
  and `/cache/:value` endpoints. With these, it implements all endpoint of
  the otiginal Python httpbin app (#3).

* New middleware `mw_cookie_parser()` to parse a `Cookie` header. Relatedly,
  new `response$add_cookie()` and `response$clear_cookie()` methods to add a
  cookie to a response and to add a header that clears a cookie (#2).

* Parsing query parametes without a value now does not fail.

* New utility function `http_time_stamp()` to format a time stamp for HTTP.

* The httpbin app now implements the endpoints related to cookies (#3).

* The httpbin app now sends the `Date` header in the correct format.

* The `offset` parameter is now optional in the `/links` endpoint of the
  httpbin app.

* `mw_etag()` now does not add an `ETag` header to the response, if there
  is one already. (The comparision is case sensitive.)

* New middleware: `mw_range_parser()` to parse `Range` headers.

# webfakes 1.1.7

* No user visible changes.
  • Loading branch information
mef committed Jun 11, 2023
1 parent a796787 commit eebc36c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 5 additions & 3 deletions www/R-webfakes/Makefile
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
# $NetBSD: Makefile,v 1.2 2023/01/01 01:01:15 mef Exp $
# $NetBSD: Makefile,v 1.3 2023/06/11 10:50:27 mef Exp $

R_PKGNAME= webfakes
R_PKGVER= 1.1.6
R_PKGVER= 1.2.0
CATEGORIES= www

MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Fake Web Apps for HTTP Testing
LICENSE= mit # + file LICENSE

TEST_DEPENDS+= R-callr-[0-9]*:../../devel/R-callr
TEST_DEPENDS+= R-covr-[0-9]*:../../devel/R-covr
TEST_DEPENDS+= R-curl-[0-9]*:../../www/R-curl
TEST_DEPENDS+= R-glue-[0-9]*:../../devel/R-glue
TEST_DEPENDS+= R-jsonlite-[0-9]*:../../textproc/R-jsonlite
TEST_DEPENDS+= R-httr-[0-9]*:../../www/R-httr
TEST_DEPENDS+= R-httpuv-[0-9]*:../../www/R-httpuv
TEST_DEPENDS+= R-httr-[0-9]*:../../www/R-httr
TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
TEST_DEPENDS+= R-withr-[0-9]*:../../devel/R-withr
TEST_DEPENDS+= R-xml2-[0-9]*:../../textproc/R-xml2
TEST_DEPENDS+= R-zip-[0-9]*:../../archivers/R-zip

USE_LANGUAGES= c

Expand Down
8 changes: 4 additions & 4 deletions www/R-webfakes/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.2 2023/01/01 01:01:15 mef Exp $
$NetBSD: distinfo,v 1.3 2023/06/11 10:50:27 mef Exp $

BLAKE2s (R/webfakes_1.1.6.tar.gz) = 7285848bc6ca30e8ec10079629e06dad86389d17c575cf880c375f2ed6a9b82f
SHA512 (R/webfakes_1.1.6.tar.gz) = 03dce364771dbd04d5e3d364427ecaa50c1c84a232e502da1af1a72446bade46ade941679086aaf6ef87f8251d2eaba46afc1e61afc2ba844631b933ce35353c
Size (R/webfakes_1.1.6.tar.gz) = 614997 bytes
BLAKE2s (R/webfakes_1.2.0.tar.gz) = feb5c5c07563273f3ff874e51a01617084e1b473f4f024fc06eb811e4ef53c3e
SHA512 (R/webfakes_1.2.0.tar.gz) = ad22cf4f8e0cb46109e54a963da7c2024332e13aed1809274d38958fb4b182466e783301b6193fd598288bd094243940109153a4cb76559aa66197dd063c7b90
Size (R/webfakes_1.2.0.tar.gz) = 361522 bytes

0 comments on commit eebc36c

Please sign in to comment.