I've just tried that before asking on the list and the result of a  CGI
program can be downloaded from the server partially using the "Range" http
header.
And a .jsp file can also be downloaded the same way.
I also found a site where the .php files can also be downloaded the same, so
I don't think they are made special for this to work.

If you want I can give you examples.

Thanks.

Teddy,
Teddy's Center: http://teddy.fcc.ro/
[EMAIL PROTECTED]



----- Original Message -----
From: "Randal L. Schwartz" <[EMAIL PROTECTED]>
To: "Octavian Rasnita" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, August 16, 2003 11:55 PM
Subject: Re: range:


>>>>> "Octavian" == Octavian Rasnita <[EMAIL PROTECTED]> writes:

Octavian> I thought all the .cgi programs are executed because of
Octavian> mod_cgi Apache module. Is this right?

Perhaps.  ".cgi" doesn't mean anything, unless you also know
about the configuration of the server.  I could make all ".cgi"
files spit back static text/html, for example. :)

Octavian> I can see that if I create a .cgi program that only prints
Octavian> an HTML file, I can GET it from an Apache server only
Octavian> partially, using the "Range" HTTP header.

No, you can't.  Unless the CGI script itself supports Range: (which
I'd bet 99% don't), you'll get the full content, always.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl
training!


Reply via email to