./www/R-webfakes, Fake Web Apps for HTTP Testing

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2.0, Package name: R-webfakes-1.2.0, Maintainer: pkgsrc-users

Create a web app that makes it easier to test web clients without
using the internet. It includes a web app framework with path
matching, parameters and templates. Can parse various 'HTTP' request
bodies. Can send 'JSON' data or files from the disk. Includes a web
app that implements the <https://httpbin.org> web service.


Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2023-06-11 12:50:27 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(www/R-webfakes) Updated 1.1.6 to 1.2.0

# 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.
   2023-01-01 02:01:15 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(www/R-webfakes) Updated 1.1.3 to 1.1.6

# webfakes 1.1.6

* `response$send_file()` now handles `root = "/"` and absolute paths
  better on Windows.

* `new_app_process()` and `local_app_process()` are now faster,
  because the app object they need to copy to the subprocess is smaller.

# webfakes 1.1.5

* `mw_etag()` now handles the `If-None-Match` header properly, and sets
  the status code of the response to 304, and removes the response body.

# webfakes 1.1.4

* No user visible changes.
   2022-04-29 17:00:27 by Makoto Fujiwara | Files touched by this commit (3)
Log message:
(www/R-webfakes) import R-webfakes-1.1.3

Create a web app that makes it easier to test web clients without
using the internet. It includes a web app framework with path
matching, parameters and templates. Can parse various 'HTTP' request
bodies. Can send 'JSON' data or files from the disk. Includes a web
app that implements the <https://httpbin.org> web service.