Subject:
|
Re: Automatic download of unofficial parts in LDView
|
Newsgroups:
|
lugnet.cad.dev.org.ldraw
|
Date:
|
Thu, 18 May 2006 17:19:17 GMT
|
Viewed:
|
2172 times
|
| |
| |
On Thu, May 18, 2006 at 01:39:32PM +0000, Steve Bliss wrote:
> In lugnet.cad.dev.org.ldraw, Dan Boger wrote:
> > In lugnet.cad.dev.org.ldraw, Steve Bliss wrote:
> > > In lugnet.cad.dev.org.ldraw, Travis Cobbs wrote:
> > > > We'd also have to agree on a format for the response containing
> > > > the multiple files.
> > >
> > > Use MPD (within a text response). Sending a stream of multiple
> > > files was the original purpose of the MPD format.
> >
> > Could do that, or tar (which would work for non-DAT files, if
> > needed).
>
> MPD would work for any text files, as long as they don't include /\n0
> FILE /.
>
> One thing MPD would not provide is the mod-timestamp for each file.
> That could be listed at the top of the response (before the first
> file) or maybe in the HTTP header(?).
The HTTP header can say when a particular file has been modified last -
but not a bunch of files in one request. Again, it's already included
in the tar format, as well as each file size (which can be useful to make
sure your request didn't terminate prematurely).
> > I'd be tempted to add a zip compression (as an option) on the
> > stream, since it should compress so nicely... :)
>
> Couldn't zipping of the response be done transparently to the cgi (and
> the client request)?
Yup - client just needs to say it supports it.
--
Dan Boger
dan@peeron.com
|
|
Message is in Reply To:
26 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|