Skip to content

httprequest: members

17 implemented, 0 reserved. Entries are sorted by name.

httprequest.address: string

Runs on: server and client. Origin: compatibility. Since: M14. Playground: no. read-only.

The host name; Borne never resolves it for the script.

echo(temp.r.address);

Specification: web-and-files.md§4.4.

httprequest.allowredirectext: number

Runs on: server and client. Origin: compatibility. Since: M14. Playground: no.

Kept for scripts; has no effect.

temp.r.allowredirectext = 1;

Specification: web-and-files.md§4.4.

httprequest.contentlanguage: string

Runs on: server and client. Origin: compatibility. Since: M14. Playground: no. read-only.

Always empty: redirects are followed by the server and the header is dropped.

echo(temp.r.contentlanguage);

Specification: web-and-files.md§4.4.

httprequest.contentlength: number

Runs on: server and client. Origin: compatibility. Since: M14. Playground: no. read-only.

The length of fulldata in bytes.

echo(temp.r.contentlength);

Specification: web-and-files.md§4.4.

httprequest.contenttype: string

Runs on: server and client. Origin: compatibility. Since: M14. Playground: no. read-only.

The Content-Type of the answer; empty when absent.

echo(temp.r.contenttype);

Specification: web-and-files.md§4.4.

httprequest.downloadcomplete: number

Runs on: server and client. Origin: compatibility. Since: M14. Playground: no. read-only.

Is 1 once the request has finished, also when it failed.

echo(temp.r.downloadcomplete);

Specification: web-and-files.md§4.4.

httprequest.file: string

Runs on: server and client. Origin: compatibility. Since: M14. Playground: no. read-only.

The path and query of the address, at least /.

echo(temp.r.file);

Specification: web-and-files.md§4.4.

httprequest.fulldata: string

Runs on: server and client. Origin: compatibility. Since: M14. Playground: no. read-only.

The body of the answer; empty when the request failed.

echo(temp.r.fulldata);

Specification: web-and-files.md§4.4.

httprequest.gamefile: string

Runs on: server and client. Origin: compatibility. Since: M14. Playground: no. read-only.

The game file name given to requesturlasgamefile; empty for other requests.

echo(temp.r.gamefile);

Specification: web-and-files.md§4.4.

httprequest.lastdatatime: number

Runs on: server and client. Origin: compatibility. Since: M14. Playground: no. read-only.

The time the answer arrived; 0 before.

echo(temp.r.lastdatatime);

Specification: web-and-files.md§4.4.

httprequest.lastmodified: string

Runs on: server and client. Origin: compatibility. Since: M14. Playground: no. read-only.

The Last-Modified header of the answer; empty when absent.

echo(temp.r.lastmodified);

Specification: web-and-files.md§4.4.

httprequest.location: string

Runs on: server and client. Origin: compatibility. Since: M14. Playground: no. read-only.

Always empty: redirects are followed by the server.

echo(temp.r.location);

Specification: web-and-files.md§4.4.

httprequest.port: number

Runs on: server and client. Origin: compatibility. Since: M14. Playground: no. read-only.

The port: 80, 443 for https, or the one in the address.

echo(temp.r.port);

Specification: web-and-files.md§4.4.

httprequest.returncode: number

Runs on: server and client. Origin: compatibility. Since: M14. Playground: no. read-only.

The HTTP status of the answer; 0 while the request runs and after a failure.

echo(temp.r.returncode);

Specification: web-and-files.md§4.4.

httprequest.returnmessage: string

Runs on: server and client. Origin: compatibility. Since: M14. Playground: no. read-only.

The reason phrase of the status, or the reason the request failed.

echo(temp.r.returnmessage);

Specification: web-and-files.md§4.4.

httprequest.server: string

Runs on: server and client. Origin: compatibility. Since: M14. Playground: no. read-only.

The host name.

echo(temp.r.server);

Specification: web-and-files.md§4.4.

httprequest.url: string

Runs on: server and client. Origin: compatibility. Since: M14. Playground: no. read-only.

The address as given.

echo(temp.r.url);

Specification: web-and-files.md§4.4.

Engine version 0.1.0. Built 2026-11-18.