Pike v8.1 release 6

Class HTTPAccept.RequestProgram


Variable client

string HTTPAccept.RequestProgram.client

Description

The user agent


Variable data

string HTTPAccept.RequestProgram.data

Description

Any payload that arrived with the request


Variable headers

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

Description

All received headers


Variable method

string HTTPAccept.RequestProgram.method

Description

The method (GET, PUT etc)


Variable my_fd

Stdio.NonblockingStream HTTPAccept.RequestProgram.my_fd

Description

The filedescriptor for this request.


Variable not_query

string HTTPAccept.RequestProgram.not_query

Description

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


Variable pragma

multiset(string) HTTPAccept.RequestProgram.pragma

Description

Tokenized pragma headers


Variable prot

string HTTPAccept.RequestProgram.prot

Description

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


Variable query

string HTTPAccept.RequestProgram.query

Description

The part of the URL after the first '?'


Variable raw

string HTTPAccept.RequestProgram.raw

Description

The full request


Variable raw_url

string HTTPAccept.RequestProgram.raw_url

Description

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


Variable referer

string HTTPAccept.RequestProgram.referer

Description

The referer header


Variable remoteaddr

string HTTPAccept.RequestProgram.remoteaddr

Description

The remote address


Variable rest_query

string HTTPAccept.RequestProgram.rest_query

Description

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


Variable since

string HTTPAccept.RequestProgram.since

Description

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


Variable time

int HTTPAccept.RequestProgram.time

Description

The time_t when the request arrived to the server


Variable variables

mapping(string:string) HTTPAccept.RequestProgram.variables

Description

Parsed query variables