mock-httpd: A HTTP server for testing HTTP clients

[ bsd2, network, program ] [ Propose Tags ] [ Report a vulnerability ]

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.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.0.0.0, 1.0.0
Change log CHANGES.md
Dependencies aeson (>=1.4 && <1.6), async (>=2.2 && <2.3), base (>=4.12 && <5.0), bytestring (>=0.10 && <0.12), case-insensitive (>=1.2 && <1.3), filepath (>=1.4 && <1.5), http-types (>=0.12 && <0.13), relude (>=0.5 && <0.8), text (>=1.2 && <1.3), wai (>=3.2 && <3.3), warp (>=3.3 && <3.4), yaml (>=0.11 && <0.12) [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
Executables mock-httpd
Downloads 465 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2020-10-29 [all 2 reports]