Furnace framework » HTTP server » HTTP request variables



Word description
An HTTP request.

Instances contain the following slots:
methodThe HTTP method as a string. The most frequently-used HTTP methods are GET, HEAD and POST.
urlThe url being requested
proxy-urlThe 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.
versionThe HTTP version. Default is 1.1 and should not be changed without good reason.
headerAn assoc of HTTP header values. See HTTP headers
post-dataSee HTTP post data
cookiesA sequence of HTTP cookies. See HTTP cookies
redirectsNumber of redirects to attempt before throwing an error. Default is max-redirects.


TUPLE: request
method url proxy-url version header post-data cookies
redirects ;