Overview

Contains information about the current HTTP request.

The request object is available as a global request in the CMS. It is not available in other rendering contexts.

Properties

request.url

Returns the current URL.

request.base_url

Returns the base part (scheme + host with optional port) of the current URL.

request.scheme

Returns the scheme of the current request (ie. http or https).

request.host

Returns the host of the current request.

request.port

Returns the port of the current request.

request.path

Returns the path of the current request.

request.fullpath

Returns the path with query string of the current request.

request.query_string

Returns the query string of the current request.