EricHolmberg wrote: > I was trying to setup a simple patch manager for bzr (bazaar vcs) that > would serve out the repository files via HTTP and handle testing, > applying patches, etc. I am aware of BundleBuggy for this purpose, > but want to use a file upload process instead of emails. > > Anyway, bzr does HTTP range requests (see HTTP/1.1 RFC 2616 14.35.1). > I tried using paste.fileapp (which is the same WSGI class used to > serve static files in Pylons), but fileapp doesn't support MIME > multipart/byteranges, so all ranges are merged into one. > > Short of writing my own WSGI app that adds multipart/byteranges or > using Apache to serve the files, does anyone know of Pylons-friendly > solutions?
It never got added to fileapp because no clients I know of do anything but the simplest range requests. Of course if you control the client then you can add fancier ranges. I think the best solution is to make your own WSGI app. I used it as an example for WebOb, so you might find it helpful to start from there: http://pythonpaste.org/webob/file-example.html Ian --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
