happstack-static-routing: Support for static URL routing with overlap detection for Happstack.

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

Warnings:

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

Versions0.1, 0.2, 0.3, 0.3.1, 0.3.2, 0.4.0, 0.4.2, 0.6.0.0, 0.6.0.0
Change logCHANGELOG.md
Dependenciesbase (>=4 && <=10), containers (>=0.3), happstack-server (>=6), list-tries (>=0.4), transformers (>=0.2) [details]
LicenseBSD-3-Clause
AuthorScrive AB
MaintainerGracjan Polak <gracjanpolak@gmail.com>, Jonathan Jouty <jonathan@scrive.com>, Mikhail Glushenkov <mikhail@scrive.com>
CategoryWeb, Distributed Computing
Home pagehttps://github.com/scrive/happstack-static-routing
Source repositoryhead: git clone git://github.com/scrive/happstack-static-routing.git
UploadedTue Jun 20 14:01:31 UTC 2017 by MikhailGlushenkov

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees


Readme for happstack-static-routing-0.6.0.0

[back to package description]

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.