Skip to main content
Version: 1.2.2

ReqLocApproved

TypeSource

ReqLocApproved = Literal[
"args", "body", "fields", "fields-form", "headers", "cookies"
]

ReqLocApproved is a shortcut of a type literal.

ReqLocApproved is the literal notation of all possible request data locations.

Further more, here is a list of comments for these locations:

Location
Description
argsAlways be in the query string.
bodyUsually be form.
fieldsCurrently only used for files.
fields-formA form that is put as a member of a field.
headersForwarded from headers directly.
cookiesSpecial headers, need to be pretreated by cookie-jars.