A RESTful browser for eXist Java-Based Function Modules


http://exist-db.org/xquery/request
A module for dealing with HTTP requests.

request:stream-binary($binary-data as xs:base64Binary, $content-type as xs:string, ...) empty()
Streams the binary data to the current servlet response output stream. The ContentType HTTP header is set to the value given in $content-type.This function only works within a servlet context, not within Cocoon. Note: the servlet output stream will be closed afterwards and mime-type settings in the prolog will not be passed.
$binary-dataThe binary data to stream
$content-typeThe ContentType HTTP header value

Deprecated: Renamed to response:stream-binary. This function could be removed at anytime during the 1.5 development and will be removed in the 1.6 release.
Return to list of all modules