mock-httpd: A HTTP server for testing HTTP clients

[ bsd2, network, program ] [ Propose Tags ]

Given a configuration file describing routes and actions, mock-httpd will bind to the specified ports and respond to incoming HTTP requests.

The primary goal of this project is to provide a simple way to test shell scripts that use curl.

Versions [faq] 0.0.0.0, 1.0.0
Change log CHANGES.md
Dependencies aeson (>=1.4 && <1.6), async (==2.2.*), base (>=4.12 && <5.0), bytestring (>=0.10 && <0.12), case-insensitive (==1.2.*), filepath (==1.4.*), http-types (==0.12.*), relude (>=0.5 && <0.8), text (==1.2.*), wai (==3.2.*), warp (==3.3.*), yaml (==0.11.*) [details]
License BSD-2-Clause
Copyright Copyright (c) 2020 Peter Jones
Author Peter Jones <pjones@devalot.com>
Maintainer Peter Jones <pjones@devalot.com>
Category Network
Home page https://github.com/pjones/mock-httpd
Bug tracker https://github.com/pjones/mock-httpd/issues
Source repo head: git clone https://github.com/pjones/mock-httpd.git
Uploaded by PeterJones at 2020-10-29T22:27:18Z
Distributions NixOS:1.0.0
Executables mock-httpd
Downloads 89 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2020-10-29 [all 2 reports]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees