Hi,
I'm trying to implement serving files from tar archives (with high performance requirements, I get occasional latency spikes doing it in managed code).
My approach is to write a native http module that rewrites the request in OnGlobalPreBeginRequest to
1) change the url to point to the tar file
2) add a range header to serve the requested file from archive
However, it seems IIS ignores the added range header. (It still serves the whole file. If I however change the http method, that change has the expected effect.)
Should this be possible? Should I serve the file range directly from the module instead?
Here is a gist setting the header: https://gist.github.com/karlbohlmark/6638374