meanwhile streamFile seems to expect a file handle (from an SD presumably)
So what's the best way to represent binary data and send it as a buffer like with streamFile? (Please include hints on where the header goes if you're jumping down layers of protocols in your answer - still new to C++ and I notice WebServer.cpp uses the WiFiClient.write() directly - still not clear on how those headers get the length right in there. I'm gzipping any 7-bit [text] data in the stuff I'm playing with to reduce the size, so I have to be sure to include the Encoding header so the browser knows it's compressed)
SW