Changes

Jump to navigation Jump to search
1 byte removed ,  12:14, 23 December 2015
|-
| width='120' | '''Signatures'''
|{{Func|web:response-header||element(rest:response)}}<br/>{{Func|web:response-header|$headers output as map(*)|element(rest:response)}}<br/>{{Func|web:response-header|$headers output as map(*), $output headers as map(xs:string, xs:string)|element(rest:response)}}<br/>
|-
| '''Summary'''
|Creates a [[RESTXQ#Response|RESTXQ response header]] with a default caching directive and default serialization parameters.<br/>
Serialization parameters can be supplied via the <code>$output</code> argument. Empty string values can be specified to invalidate default values. By default, the following serialization parameters will be returned:
* <code>media-type</code>: <code>application/octet-stream</code>
Header options can be supplied via the <code>$headers</code> argument. Empty string values can be specified to invalidate default values. By default, the following header options will be returned:
* <code>Cache-Control</code>: <code>max-age=3600,public</code>
Serialization parameters can be supplied via the <code>$output</code> argument. Empty string values can be specified to invalidate default values. By default, the following serialization parameters will be returned:
* <code>media-type</code>: <code>application/octet-stream</code>
|-
| '''Examples'''
Bureaucrats, editor, reviewer, Administrators
13,551

edits

Navigation menu