Статус 200 вместо 206

AleXXX V. NovikoFF alexxx at alexxx.ru
Wed Nov 7 14:44:23 MSK 2007


День добрый!

Делался такой запрос на закачку:

ReGet Deluxe 5.1 (build 308):

GET /mults/kashtanka_2004.avi HTTP/1.0
User-Agent: Mozilla/4.0 (compatible; ReGet Deluxe 5.1; Windows NT 5.1)
Cookie: b=b;
Accept: */*
Range: bytes=44385309-
Referer: http://mults.spb.ru/mults/?id=1637
Host: mults.spb.ru

HTTP/1.1 206 Partial Content
Server: nginx/0.5.32
Date: Wed, 07 Nov 2007 11:34:41 GMT
Content-Type: x-video/download
Content-Length: 270044131
Last-Modified: Fri, 28 Sep 2007 15:58:38 GMT
Connection: close
Content-Range: bytes 44385309-314429439/314429440

Статус видно 206, а в логах = 200:

77.247.172.48 - - [07/Nov/2007:14:35:05 +0300 - 0.016 : 0.105] 200 "GET /mults/kashtanka_2004.avi HTTP/1.0" 3781195 "http://mults.spb.ru/mults/?id=1637" "Mozilla/4.0 (compatible; ReGet Deluxe 5.1; Windows NT 5.1)" "-"
77.247.172.48 - - [07/Nov/2007:14:35:05 +0300 - 0.012 : 0.105] 200 "GET /mults/kashtanka_2004.avi HTTP/1.0" 4786554 "http://mults.spb.ru/mults/?id=1637" "Mozilla/4.0 (compatible; ReGet Deluxe 5.1; Windows NT 5.1)" "-"
77.247.172.48 - - [07/Nov/2007:14:35:05 +0300 - 0.013 : 0.105] 200 "GET /mults/kashtanka_2004.avi HTTP/1.0" 4830573 "http://mults.spb.ru/mults/?id=1637" "Mozilla/4.0 (compatible; ReGet Deluxe 5.1; Windows NT 5.1)" "-"
77.247.172.48 - - [07/Nov/2007:14:35:05 +0300 - 0.014 : 0.105] 200 "GET /mults/kashtanka_2004.avi HTTP/1.0" 4361974 "http://mults.spb.ru/mults/?id=1637" "Mozilla/4.0 (compatible; ReGet Deluxe 5.1; Windows NT 5.1)" "-"
77.247.172.48 - - [07/Nov/2007:14:35:05 +0300 - 0.015 : 0.105] 200 "GET /mults/kashtanka_2004.avi HTTP/1.0" 610334 "http://mults.spb.ru/mults/?id=1637" "Mozilla/4.0 (compatible; ReGet Deluxe 5.1; Windows NT 5.1)" "-"

Почему так?

Данные отдаются через X-Accel-Redirect, используется sendfile, sendfile_max_chunk  1m;

-- 
Цитируйте предыдущую переписку, пожалуйста.
AleXXX V. NovikoFF <alexxx at alexxx.ru>
WWW: http://alexxx.ru/






More information about the nginx-ru mailing list