Manlio Perillo ha scritto:
> [...]
 >
>> You should be able to detect whether interference is allowed based on 
>> the response status, shouldn't you?
> 
> Right.
> 
>> That is, if there is a range 
>> request and the application replies 200 OK, you can change that and 
>> apply the ranges.  But if the application replies with 206 Partial 
>> Content then the range has already been applied and the server shouldn't 
>> do anything to it.
>>
> 
> Thanks, I'll think about it.
> 

No need to think about it ;-).
Nginx already checks if status code is 200.

In my early tests I just added a Content-Range header, without returning 
a 206 status code.



Manlio Perillo
_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to