We have a RESTful service that generates documents. These returned documents can be very large, 100s of megabytes up to gigabytes.
Writing out the document as the res