Changes

Jump to navigation Jump to search
36 bytes removed ,  18:39, 1 December 2023
m
Text replacement - "syntaxhighlight" to "pre"
|
The function call <code><nowiki>web:forward('/a/b')</nowiki></code> creates the following result (which will be interpreted as forwarding if RESTXQ is used):
<syntaxhighlight pre lang="xml">
<rest:forward>/a/b</rest:forward>
</pre>
|
The query <code><nowiki>web:redirect('/a/b')</nowiki></code> returns the following result (which will be interpreted as redirection if RESTXQ is used):
<syntaxhighlight pre lang="xml">
<rest:response xmlns:rest="http://exquery.org/ns/restxq">
<http:response xmlns:http="http://expath.org/ns/http-client" status="302">
|
* The function call <code>web:response-header()</code> returns:
<syntaxhighlight pre lang="xml">
<rest:response xmlns:rest="http://exquery.org/ns/restxq">
<http:response xmlns:http="http://expath.org/ns/http-client"/>
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu