> This may or may not be useful, but I wrote a bunch of code > which correctly handles the difficult part of multipart/byteranges > and have been using it in real production systems for a while > now. > > It's not integrated into any particular web platform, but should be easy > enough to incorporate into your own code. See > > http://deron.meranda.us/python/httpheader/ >
Excellent code and documentation, Deron! > RFC spec. And if you haven't read the RFC closely, I highly > recommend you do. There are some "surprises" in how byte > ranges work that aren't immediately obvious. Since I posted the messages yesterday, I finished the first cut of a multi-part range system similar in nature, but not as comprehensive as your code. I did handle what I think are most of the "surprise" cases. I'll see how my testing goes today and if I run into problems, I may just transition over to using your code. > If anybody's really interested in this, I can try to clean this > stuff up and perhaps turn it into a more polished python > package and publish it on PyPI (easy_install). Let me know. I think that is a great idea. Thanks again! -Eric --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
