docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 6.1Web Developer ManualVariable Tags
Copyright  2018, Roxen Internet Software
Suggestions, comments & compliments

<insert cached-href>
<insert file>
<insert href>
<insert realfile>
<insert scopes>
<insert variable>
<insert variables>

<insert href/>

Provided by module: Tags: Additional RXML tags

Inserts the contents at that URL. This function has to be enabled in the Additional RXML tags module in the Roxen WebServer configuration interface. The page download will block the current thread, and if running unthreaded, the whole server.

Note: Requests are made in HTTP/1.0.



The URL to the page that should be inserted.


If provided the resulting page will get a zero cache time in the RAM cache. The default time is up to 60 seconds depending on the cache limit imposed by other RXML tags on the same page.


Method to use when requesting the page. GET, POST, PUT or DELETE.


Do not print any error messages.


Prints the return code for the request in the specified varible.

<insert href='' status-variable='var.status-code' />


Timeout for the request in seconds. This is not available if your run the server without threads.

<insert href='' silent='silent' timeout='10' /> <else> Site did not respond within 10 seconds. Try again later. </else>

post-variables=""variable=rxml variable[,variable2=rxml variable2,...]""

Comma-separated list of variables to send in a POST request.

<insert href='' method='POST' post-variables='action=var.action,' />


String to send as the body content of the POST request. Mutually exclusive with the 'post-variables' argument.

<insert href='' method='POST' post-data='&;' />

put-variables=""variable=rxml variable[,variable2=rxml variable2,...]""

Comma-separated list of variables to send in a PUT request.

<insert href='' method='PUT' put-variables='action=var.action,' />


String to send as the body content of the PUT request. Mutually exclusive with the 'put-variables' argument.

<insert href='' method='PUT' put-data='&;' />


List of extra headers to send in the request. Headers are separated by comma by default, but the delimiter can be changed using the 'header-delimiter' attribute.


Delimiter to use with 'request-headers', defaults to comma (",").

accept-status="{"value, min_value-max_value[,...]"}"

Comma-separated list of status ranges to regard as successful fetches.

A range is represented by its minumum and maximum values (inclusive) separated by a '-'. A range with a single value can alternatively be represented by just the value by itself.

The default value is "1-399".


If set, unknown Content-Encoding headers in the response will be ignored. Some servers specify the character set (e.g. 'UTF-8') in the Content-Encoding header in addition to the Content-Type header. (The real purpose of the Content-Encoding header is described here: