+---------- On Sep 14, Jim Wilcoxson said:
> Brett - Unix is designed to work this way when open files are deleted or
> another file is mv'd on top of them.  *ALL* Unix machines will work this
> way, so you are not exploiting some weirdness of Linux.  The only problem
> I see with it is that if a transmission is halted and a client sends a
> request to restart in the middle,

If a client tries to "restart in the middle", meaning that it asks for a
byte range, then -

- The server must be AOLserver 3.2+ad12 or 3.3+ad13 (if it's AOLserver
at all) for the byte range request to be honored (assuming it's handled
by fastpath or ns_returnfile). Other versions of AOLserver will simply
return the whole document.

- The client ought to provide either an If-Range header or an
If-Unmodified-Since header to be safe, but it's not required to.

- If the client provides an If-Range header, then AOLserver will return
either the requested range (if the file date matches the If-Range date)
or the whole file (if the date doesn't match).

- If the client provides an If-Unmodified-Since header, then AOLserver
will return either the requested range (if the file date matches the
If-Unmodified-Since header) or a 412 Precondition Failed error (if the
date doesn't match).

Reply via email to