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 [RSS] [faq], 1.0.0
Change log
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 <>
Maintainer Peter Jones <>
Category Network
Home page
Bug tracker
Source repo head: git clone
Uploaded by PeterJones at 2020-10-29T22:27:18Z
Distributions NixOS:1.0.0
Executables mock-httpd
Downloads 170 total (5 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]


Maintainer's Corner

For package maintainers and hackage trustees