Hello, I've used the MHD_create_response_from_callback() to serve big files, however, I need to send only a portion of some certain files. It can be easily done using the HTTP 1.1 Byte serving <https://en.wikipedia.org/wiki/Byte_serving>, that can be implemented following the RFC 7233 <http://httpwg.org/specs/rfc7233.html> and getting inspirations from Node JS send logic <https://github.com/pillarjs/send/blob/master/index.js#L561>.
Considering this goals, can I get the client range request in the MHD_ContentReaderCallback()? For example, considering that client sent "Range: bytes=1-2", can I get these values parsed in this callback parameters? I took a look at MHD manual, but unfortunately I found only: "The library is supposed to handle everything that it must handle (...), such as basic connection management; however, detailed interpretations of headers — *such as range requests* — and HTTP methods are left to clients." Any tip are welcome. Thank you! -- Silvio Clécio
