Network.HTTP.Types

Methods

type Method

methodGet

methodPost

methodHead

methodPut

methodDelete

methodTrace

methodConnect

methodOptions

methodPatch

data StdMethod

parseMethod

renderMethod

renderStdMethod

Versions

data HttpVersion

http09

http10

http11

Status

data Status

mkStatus

status100

continue100

status101

switchingProtocols101

status200

ok200

status201

created201

status202

accepted202

status203

nonAuthoritative203

status204

noContent204

status205

resetContent205

status206

partialContent206

status300

multipleChoices300

status301

movedPermanently301

status302

found302

status303

seeOther303

status304

notModified304

status305

useProxy305

status307

temporaryRedirect307

status400

badRequest400

status401

unauthorized401

status402

paymentRequired402

status403

forbidden403

status404

notFound404

status405

methodNotAllowed405

status406

notAcceptable406

status407

proxyAuthenticationRequired407

status408

requestTimeout408

status409

conflict409

status410

gone410

status411

lengthRequired411

status412

preconditionFailed412

status413

requestEntityTooLarge413

status414

requestURITooLong414

status415

unsupportedMediaType415

status416

requestedRangeNotSatisfiable416

status417

expectationFailed417

status418

imATeaPot418

status500

internalServerError500

status501

notImplemented501

status502

badGateway502

status503

serviceUnavailable503

status504

gatewayTimeout504

status505

httpVersionNotSupported505

statusIsInformational

statusIsSuccessful

statusIsRedirection

statusIsClientError

statusIsServerError

Headers

Types

type Header

type HeaderName

type RequestHeaders

type ResponseHeaders

Common headers

hAccept

hAcceptLanguage

hAuthorization

hCacheControl

hCookie

hConnection

hContentEncoding

hContentLength

hContentMD5

hContentType

hDate

hIfModifiedSince

hIfRange

hLastModified

hLocation

hRange

hReferer

hServer

hUserAgent

Byte ranges

data ByteRange

renderByteRangeBuilder

renderByteRange

type ByteRanges

renderByteRangesBuilder

renderByteRanges

parseByteRanges

URI

Query string

type QueryItem

type Query

type SimpleQueryItem

type SimpleQuery

simpleQueryToQuery

renderQuery

renderQueryBuilder

renderSimpleQuery

parseQuery

parseSimpleQuery

Text query string (UTF8 encoded)

type QueryText

queryTextToQuery

queryToQueryText

renderQueryText

parseQueryText

Generalized query types

class QueryLike a

Path segments

encodePathSegments

decodePathSegments

encodePathSegmentsRelative

Path (segments + query string)

extractPath

encodePath

decodePath

URL encoding / decoding

urlEncodeBuilder

urlEncode

urlDecode