Extracted from Pike v8.0 release 28 as of 2015-09-20.
   

Class HTTPLoop.RequestProgram


Variable client

string HTTPLoop.RequestProgram.client

Description

The user agent


Variable data

string HTTPLoop.RequestProgram.data

Description

Any payload that arrived with the request


Variable headers

mapping(string:array(string)) HTTPLoop.RequestProgram.headers

Description

All received headers


Variable method

string HTTPLoop.RequestProgram.method

Description

The method (GET, PUT etc)


Variable my_fd

Stdio.NonblockingStream HTTPLoop.RequestProgram.my_fd

Description

The filedescriptor for this request.


Variable not_query

string HTTPLoop.RequestProgram.not_query

Description

The part of the URL before the first '?'.


Variable pragma

multiset(string) HTTPLoop.RequestProgram.pragma

Description

Tokenized pragma headers


Variable prot

string HTTPLoop.RequestProgram.prot

Description

The protocol part of the request. As an example "HTTP/1.1"


Variable query

string HTTPLoop.RequestProgram.query

Description

The part of the URL after the first '?'


Variable raw

string HTTPLoop.RequestProgram.raw

Description

The full request


Variable raw_url

string HTTPLoop.RequestProgram.raw_url

Description

The raw URL received, the part after the method and before the protocol.


Variable referer

string HTTPLoop.RequestProgram.referer

Description

The referer header


Variable remoteaddr

string HTTPLoop.RequestProgram.remoteaddr

Description

The remote address


Variable rest_query

string HTTPLoop.RequestProgram.rest_query

Description

The part of the URL after the first '?' that does not seem to be query variables.


Variable since

string HTTPLoop.RequestProgram.since

Description

The get-if-not-modified, if set.


Variable time

int HTTPLoop.RequestProgram.time

Description

The time_t when the request arrived to the server


Variable variables

mapping(string:string) HTTPLoop.RequestProgram.variables

Description

Parsed query variables