The SetResponseSample package shows how a service can return the contents of a file to any HTTP client. This is a very useful capability.
The one downside is that it requires the data to be completely loaded into memory, which for large files is a bad idea.
I’m hoping someone, perhaps someone at wM, knows of a technique that can be used to return large files. A “setResponseStream” if you will.
I’ve a used custom content handler in the past to provide this sort of capability but I’m hoping a less-intrusive approach is available. Plus, I cannot seem to locate the code that I used to do that so I need a new approach in any case.