|
|
|
Description |
Some helpers for parsing data out of a raw WAI Request.
|
|
Synopsis |
|
|
|
Documentation |
|
|
Split out the query string into a list of keys and values. A few
importants points:
- There is no way to distinguish between a parameter with no value and a
parameter with an empty value. Eg, foo= and foo are the same.
- The result returned is still bytestrings, since we perform no character
decoding here. Most likely, you will want to use UTF-8 decoding, but this is
left to the user of the library.
- Percent decoding errors are ignored. In particular, %Q will be output as
%Q.
|
|
|
Parse the HTTP accept string to determine supported content types.
|
|
|
|
|
A destination for data, the opposite of a Source.
| Constructors | Sink | | sinkInit :: IO x | | sinkAppend :: x -> ByteString -> IO x | | sinkClose :: x -> IO y | | sinkFinalize :: y -> IO () | |
|
|
|
|
|
|
|
|
|
Information on an uploaded file.
| Constructors | | Instances | |
|
|
Produced by Haddock version 2.6.1 |