The happstack-static-routing package

[Tags:bsd3, library]

If you have a large routing table in Happstack and want to insert a new handler, you might run into overlap problems (ambiguity). The new handler might not fire because it matches against a URL that is already handled earlier. Or if you put your new handler first, it might steal requests from existing handlers. This Happstack support library allows you to detect overlap cases and build unambiguous routing tables where the order of the handlers is irrelevant.


[Skip to Readme]

Properties

Versions 0.1, 0.2, 0.3, 0.3.1, 0.3.2, 0.4.0, 0.4.2, 0.6.0.0
Change log CHANGELOG.md
Dependencies base (>=4 && <=10), containers (>=0.3), happstack-server (>=6), list-tries (>=0.4), transformers (>=0.2) [details]
License BSD3
Author Scrive AB
Maintainer Gracjan Polak <gracjanpolak@gmail.com>, Jonathan Jouty <jonathan@scrive.com>, Mikhail Glushenkov <mikhail@scrive.com>
Category Web, Distributed Computing
Home page https://github.com/scrive/happstack-static-routing
Source repository head: git clone git://github.com/scrive/happstack-static-routing.git
Uploaded Tue Jun 20 14:02:42 UTC 2017 by MikhailGlushenkov
Distributions NixOS:0.4.2
Downloads 1562 total (73 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-06-20 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for happstack-static-routing

Readme for happstack-static-routing-0.6.0.0

happstack-static-routing Hackage version Build Status

If you have a large routing table in Happstack and want to insert a new handler, you might run into overlap problems (ambiguity). The new handler might not fire because it matches against a URL that is already handled earlier. Or if you put your new handler first, it might steal requests from existing handlers.

This Happstack support library allows you to detect overlap cases and build unambiguous routing tables where the order of the handlers is irrelevant.