version 1.97, 2009/10/16 12:28:04 |
version 1.98, 2010/06/03 07:39:53 |
|
|
switch (status) { |
switch (status) { |
case 200: /* OK */ |
case 200: /* OK */ |
#ifndef SMALL |
#ifndef SMALL |
|
/* |
|
* When we request a partial file, and we receive an HTTP 200 |
|
* it is a good indication that the server doesn't support |
|
* range requests, and is about to send us the entire file. |
|
* If the restart_point == 0, then we are not actually |
|
* requesting a partial file, and an HTTP 200 is appropriate. |
|
*/ |
|
if (resume && restart_point != 0) { |
|
warnx("Server does not support resume."); |
|
restart_point = resume = 0; |
|
} |
case 206: /* Partial Content */ |
case 206: /* Partial Content */ |
#endif /* !SMALL */ |
#endif /* !SMALL */ |
break; |
break; |