BSD Ports

www/R-webfakes 1.5.0 NetBSD

Fake Web Apps for HTTP Testing

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
6919ccf87a
License
mit
Categories
www, math, r
Package size
783.7 KiB, 1916.8 KiB installed

Description

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.

Install

Binary package:

pkgin install R-webfakes

From pkgsrc:

cd /usr/pkgsrc/www/R-webfakes && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.5.0
NetBSD 10.1 aarch641.3.2
SmartOS / illumos x86_641.5.0
macOS 15 arm641.5.0

Dependencies

Run dependencies 1

No port depends on this one.

Commit history 2

DateCommitCreditsLog message
6919ccf87a wiz R-webfakes: use gmake
to try fix Darwin build: "ar rcs libmbedtls.a " without arguments
9e5303952f wiz R-webfakes: update to 1.5.0.
Build fix. # webfakes 1.5.0 * New `keep_alive_timeout_ms` option in `server_opts()` to configure the idle timeout of keep-alive connections. The default is 5000 ms, up from the underlying CivetWeb default of 500 ms (#114). * Handler functions may now declare a `locals` argument, in which case webfakes passes `app$locals` to it directly, without having to access it through `req$app$locals` (#112). * webfakes now builds on platforms where `ar` does not writes a symbol index by default (@barracuda156, #121). * webfakes now parses HTTP date headers (e.g. `Date`, `Last-Modified`, `Expires`) correctly regardless of the user's `LC_TIME` setting (@lbm364dl, #124). * Route matching now ignores trailing slashes. Use regular expressions …