Behaviours

Behaviours define the kind of response the API will have

Those can take action before selecting the content that will be served (for example by setting the status code), so later on the content provider can select which content to server), or act once the content has already been selected (for example by compressing the output).

Some of the information set by a behaviour can be used later on for a content provider to select the response.

There can be added as many behaviours as wanted, and those can even be repeated (but having more than one behaviour of the same type might not make much sense).

By default, if no Behaviour is specified, and if the content does not set an actual result, a 200 Ok response will be returned.