The wai-extra package

[Tags:library, mit]

Provides basic WAI handler and middleware functionality:

Hspec testing facilities and helpers for WAI.

Send server events to the client. Compatible with the JavaScript EventSource API.

Override the Accept header in a request. Special handling for the _accept query parameter (which is used throughout WAI override the Accept header).

WAI Middleware for adding arbitrary headers to an HTTP request.

Clean a request path to a canonical form.

Negotiate HTTP payload gzip compression.

WAI Basic Authentication Middleware which uses Authorization header.

"JSON with Padding" middleware. Automatic wrapping of JSON responses to convert into JSONP.

Allows overriding of the HTTP request method via the _method query string parameter.

Request logging middleware for development and production environments

Rewrite request path info based on a custom conversion rules.

Convert ResponseFile type responses into ResponseStream type.

Redirect incoming requests to a new host based on custom rules.

API docs and the README are available at http://www.stackage.org/package/wai-extra.


[Skip to Readme]

Properties

Versions 0.0.0, 0.0.0.1, 0.0.0.2, 0.1.0, 0.1.1, 0.1.2, 0.1.2.1, 0.1.3, 0.1.3.1, 0.2.0, 0.2.1, 0.2.2, 0.2.2.1, 0.2.2.2, 0.2.3, 0.2.4, 0.2.4.1, 0.2.4.2, 0.3.0, 0.3.1, 0.3.2, 0.3.2.1, 0.3.3, 0.4.0, 0.4.0.1, 0.4.0.2, 0.4.0.3, 0.4.1.1, 0.4.1.2, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.5.1, 0.4.5.2, 0.4.6, 1.0.0, 1.0.0.1, 1.1.0, 1.1.0.1, 1.2.0, 1.2.0.1, 1.2.0.2, 1.2.0.3, 1.2.0.4, 1.2.0.5, 1.2.0.6, 1.3.0, 1.3.0.1, 1.3.0.2, 1.3.0.3, 1.3.0.4, 1.3.0.5, 1.3.1, 1.3.1.1, 1.3.2, 1.3.2.1, 1.3.2.2, 1.3.2.3, 1.3.2.4, 1.3.3, 1.3.3.1, 1.3.3.2, 1.3.4, 1.3.4.1, 1.3.4.2, 1.3.4.3, 1.3.4.4, 1.3.4.5, 1.3.4.6, 2.0.0, 2.0.0.1, 2.0.1, 2.0.1.1, 2.0.1.2, 2.0.2, 2.0.3, 2.0.3.1, 2.0.3.2, 2.0.3.3, 2.1.0, 2.1.0.1, 2.1.1, 2.1.1.1, 2.1.1.2, 2.1.1.3, 3.0.0, 3.0.0.1, 3.0.1, 3.0.1.1, 3.0.1.2, 3.0.2, 3.0.2.1, 3.0.2.2, 3.0.3, 3.0.3.1, 3.0.3.2, 3.0.4, 3.0.4.1, 3.0.4.2, 3.0.4.3, 3.0.4.4, 3.0.4.5, 3.0.4.6, 3.0.5, 3.0.6, 3.0.6.1, 3.0.7, 3.0.7.1, 3.0.8.0, 3.0.8.1, 3.0.8.2, 3.0.9, 3.0.10, 3.0.10.1, 3.0.11, 3.0.11.1, 3.0.12, 3.0.13, 3.0.13.1, 3.0.14, 3.0.14.1, 3.0.14.3, 3.0.15, 3.0.15.1, 3.0.15.2 (info)
Change log ChangeLog.md
Dependencies aeson, ansi-terminal, base (>=4.6 && <5), base64-bytestring, blaze-builder (>=0.2.1.4 && <0.5), bytestring (>=0.9.1.4), case-insensitive (>=0.2), containers, cookie, data-default-class, deepseq, directory (>=1.0.1), fast-logger (>=2.4.5 && <2.5), http-types (>=0.7), iproute, lifted-base (>=0.1.2), network (>=2.6.1.0), old-locale (>=1.0.0.2 && <1.1), resourcet (>=0.4.6 && <1.2), streaming-commons, stringsearch (==0.3.*), text (>=0.7), time (>=1.1.4), transformers (>=0.2.2), unix, unix-compat, vault, void (>=0.5), wai (>=3.0.3.0 && <3.3), wai-logger (>=2.2.6 && <2.3), word8, zlib [details]
License MIT
Author Michael Snoyman
Maintainer michael@snoyman.com
Stability Stable
Category Web
Home page http://github.com/yesodweb/wai
Source repository head: git clone git://github.com/yesodweb/wai.git
Uploaded Thu Jun 16 11:53:13 UTC 2016 by MichaelSnoyman
Distributions Arch:3.0.15.2, Debian:3.0.13.1, Fedora:3.0.4.5, FreeBSD:3.0.10, LTSHaskell:3.0.15.2, NixOS:3.0.15.1, Stackage:3.0.15.2
Downloads 71025 total (341 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2016-06-16 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for wai-extra

Readme for wai-extra-3.0.15.2

wai-extra

The goal here is to provide common features without many dependencies.