| | Re: Automatic download of unofficial parts in LDView Dan Boger
|
| | (...) Right - it could only do so when asked by the client, and the client is always free to ignore data it doesn't need. (...) Could do that, or tar (which would work for non-DAT files, if needed). I'd be tempted to add a zip compression (as an (...) (19 years ago, 17-May-06, to lugnet.cad.dev.org.ldraw)
|
| | |
| | | | Re: Automatic download of unofficial parts in LDView Dean Earley
|
| | | | (...) Wont most servers (and clients) automatically use gzip or similar if they both support it? (19 years ago, 17-May-06, to lugnet.cad.dev.org.ldraw)
|
| | | | |
| | | | | | Re: Automatic download of unofficial parts in LDView Dan Boger
|
| | | | | (...) If the client supports it, yes. But unless LDView specifically says it does, the server will assume it can't. (19 years ago, 18-May-06, to lugnet.cad.dev.org.ldraw)
|
| | | | | |
| | | | | | | Re: Automatic download of unofficial parts in LDView Travis Cobbs
|
| | | | | (...) I don't do this now, but I think I can do so fairly easily. Just to check, if I add the following header to my request, ldraw.org will gzip automatically? Accept-Encoding: gzip If I do that, do I need to add another accepted encoding to let (...) (19 years ago, 18-May-06, to lugnet.cad.dev.org.ldraw)
|
| | | | | |
| | | | | | | Re: Automatic download of unofficial parts in LDView Dan Boger
|
| | | | | (...) It's assumed - at least, firefox doesn't mention it explicitly. (19 years ago, 18-May-06, to lugnet.cad.dev.org.ldraw)
|
| | | | | |
| | | | | | | Re: Automatic download of unofficial parts in LDView Travis Cobbs
|
| | | | | (...) Just as an experiment, I added the above header to my request, and still got back plain-text. --Travis (19 years ago, 18-May-06, to lugnet.cad.dev.org.ldraw)
|
| | | | | |
| | | | | | | Re: Automatic download of unofficial parts in LDView Dan Boger
|
| | | | | (...) Right - apparently I don't have it enabled on peeron/ldraw's server, but try it on this: (URL) Dan Boger dan@peeron.com (19 years ago, 18-May-06, to lugnet.cad.dev.org.ldraw)
|
| | | | | |
| | | | | | | Re: Automatic download of unofficial parts in LDView Travis Cobbs
|
| | | | | (...) that file there for a while while I get my gunzipping to work? I'll post another message here once I get it working. Thanks. --Travis (19 years ago, 18-May-06, to lugnet.cad.dev.org.ldraw)
|
| | | | | |
| | | | | | | Re: Automatic download of unofficial parts in LDView Travis Cobbs
|
| | | | | (...) OK, I got it working. Feel free to delete the file whenever you want. So, do you plan to turn gzip support on for the ldraw.org server? It would make a really big difference for unofficial part downloads. --Travis (19 years ago, 20-May-06, to lugnet.cad.dev.org.ldraw)
|
| | | | | |
| | | | | | | Re: Automatic download of unofficial parts in LDView Dan Boger
|
| | | | | (...) I'll either do that, or just start mirroring the entire ldraw library to media.peeron.com. How soon will you need this? I guess your script should work transparently either case though - gzipping shouldn't be required, just accepted. Make (...) (19 years ago, 23-May-06, to lugnet.cad.dev.org.ldraw)
|
| | | | | |
| | | | | | | Re: Automatic download of unofficial parts in LDView Travis Cobbs
|
| | | | | (...) Yeah, that makes sense. LDView will notify the server that it accepts gzipped content, but will work fine either way. It will just work faster when the response is gzipped. At this point, I'm not sure when the next version of LDView will be (...) (19 years ago, 23-May-06, to lugnet.cad.dev.org.ldraw)
|
| | | | | |
| | | | Re: Automatic download of unofficial parts in LDView Steve Bliss
|
| | | | (...) 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 (...) (19 years ago, 18-May-06, to lugnet.cad.dev.org.ldraw)
|
| | | | |
| | | | | | Re: Automatic download of unofficial parts in LDView Dan Boger
|
| | | | (...) 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 (...) (19 years ago, 18-May-06, to lugnet.cad.dev.org.ldraw)
|
| | | | |