request - Factor Documentation (original) (raw)
Vocabulary
http
Word description
An HTTP request.
Instances contain the following slots:
method | The HTTP method as a string. The most frequently-used HTTP methods are GET, HEAD and POST. |
---|---|
url | The url being requested |
proxy-url | The proxy url to use, or f for no proxy. If not f, the url will additionally be derive-url'd from the HTTP(S) proxy variables. The proxy is used if the result has at least the host slot set. |
version | The HTTP version. Default is 1.1 and should not be changed without good reason. |
header | An assoc of HTTP header values. See HTTP headers |
post-data | See HTTP post data |
cookies | A sequence of HTTP cookies. See HTTP cookies |
redirects | Number of redirects to attempt before throwing an error. Default is max-redirects. |
Definition
TUPLE: request
method url proxy-url version header data cookies redirects ;
Methods