Changes

Jump to navigation Jump to search
569 bytes added ,  12:50, 27 May 2021
no edit summary
By default, a successful request is answered with the HTTP status code {{Code|200}} (OK) and is followed by the given content. An erroneous request leads to an error code and an optional error message (e.g. {{Code|404}} for “resource not found”).
 
With {{Version|9.6}}, the {{Code|Server-Timing}} HTTP header will be attached to the response. It indicates how much time was spent for parsing, compiling, evaluating and serializing the query. The last value will not necessarily reflect the full time for serializing the result, as the header is generated before the result is sent to the client. Server-side serialization can be enforced by annotating a function with the <code>[[#Query Execution|%rest:single]]</code> annotation.
==Custom Response==
=Changelog=
 
;Version 9.6
* Updated: [[#Response|Response]]: {{Code|Server-Timing}} HTTP header.
;Version 9.5
Bureaucrats, editor, reviewer, Administrators
13,551

edits

Navigation menu