|
|
|
|
|
|
Synopsis |
|
|
|
|
Case insensitive HTTP ByteStrings
|
|
|
Case-insensitive HTTP ByteStrings, mostly for use in Header names.
| Constructors | | Instances | |
|
|
|
Make a case-insensitive ByteString from a normal ByteString.
|
|
Methods
|
|
|
HTTP method (flat string type).
|
|
|
|
|
HTTP Method constants.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HTTP standard method (as defined by RFC 2616).
| Constructors | GET | | POST | | HEAD | | PUT | | DELETE | | TRACE | | CONNECT | | OPTIONS | |
| Instances | |
|
|
|
Convert a method ByteString to a StdMethod if possible.
|
|
|
Convert an algebraic method to a ByteString.
|
|
|
Convert a StdMethod to a ByteString.
|
|
Versions
|
|
|
HTTP Version.
Note that the Show instance is intended merely for debugging.
| Constructors | HttpVersion | | httpMajor :: !Int | | httpMinor :: !Int | |
|
| Instances | |
|
|
|
HTTP 0.9
|
|
|
HTTP 1.0
|
|
|
HTTP 1.1
|
|
Status
|
|
|
HTTP Status.
Only the statusCode is used for comparisons.
Note that the Show instance is only for debugging.
| Constructors | | Instances | |
|
|
|
|
|
OK
|
|
|
|
|
Created
|
|
|
|
|
Moved Permanently
|
|
|
|
|
Found
|
|
|
|
|
See Other
|
|
|
|
|
Bad Request
|
|
|
|
|
Unauthorized
|
|
|
|
|
Forbidden
|
|
|
|
|
Not Found
|
|
|
|
|
Method Not Allowed
|
|
|
|
|
Internal Server Error
|
|
Headers
|
|
|
Header
|
|
|
Request Headers
|
|
|
Response Headers
|
|
|
|
|
HTTP Headers
|
|
|
|
|
|
|
|
|
|
|
|
Query string
|
|
|
Query item
|
|
|
Query.
General form: a=b&c=d, but if the value is Nothing, it becomes
a&c=d.
|
|
|
Simplified Query item type without support for parameter-less items.
|
|
|
Simplified Query type without support for parameter-less items.
|
|
|
Convert Query to ByteString.
|
|
|
Convert SimpleQuery to ByteString.
|
|
|
Parse Query from a ByteString.
|
|
|
Parse SimpleQuery from a ByteString.
|
|
URL encoding / decoding
|
|
|
Percent-encoding for URLs.
|
|
|
Percent-decoding.
|
|
Produced by Haddock version 2.6.1 |