[Web-SIG] wsgi.file_wrapper and range requests

Brian Smith brian at briansmith.org
Thu Dec 13 15:18:24 CET 2007


Ionel Maries Cristian wrote: 
> wsgi.file_wrapper doesn't support sending a file
> from a specific offset as per wsgi spec.
> what are your thoughts on this ?

Yes, it does. The spec says:

"In other words, transmission should begin at the current position
within the "file" at the time that transmission begins, and continue
until the end is reached."

It doesn't support sending a file *up to* a specific offset, though,
which I think is unfortunate.

- Brian



More information about the Web-SIG mailing list