XQuery/Setting HTTP Headers

Motivation
You want to put information in your outgoing HTTP headers to control aspects such as web caching and ETAGS.

Sample Module
The following module was provided by Thomas White.

File tw_stream-binary-cached.xql