Changes

Jump to navigation Jump to search
24 bytes added ,  15:20, 27 February 2020
no edit summary
By default, both content types are {{Code|*/*}}. Quality factors supplied by a client will also be considered in the path selection process. If a client supplies the following accept header…
<presyntaxhighlight>
*/*;q=0.5,text/html;q=1.0
</presyntaxhighlight>
…and if two RESTXQ functions exist with the same {{Code|path}} annotation, one with the {{Code|produces}} annotation <code>*/*</code>, and another with <code>text/html</code>, the second function will be called, because the quality factor for <code>text/html</code> documents is highest.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu