Changes

Jump to navigation Jump to search
1 byte removed ,  16:25, 16 November 2012
m
corrected link
Since RESTXQ runs on a fully equipped Web-server, one can change all and specify more HTTP header informations that are returned to the client. By default a successful request is answered with HTTP status code "200 OK" followed by the given content, an erroneous request (due to errors in a script) with "404 Not Found" followed by the error message.
The first behaviour can be changed by returning an <code>restxq:response</code> element, following the [[http://expath.org/spec/http-client| EXPath HTTP Client Module]] specification. E.g. one may return to the client
<pre class="brush:xml">
editor, reviewer
115

edits

Navigation menu