Welcome! Log In Create A New Profile

Advanced

Re: difficulty adding headers

ura
June 27, 2014 02:23PM
this stackoverflow response on the topic is one that quotes the code i used... i have also seen this page linked by several other pages which said this was a workable approach:
http://stackoverflow.com/questions/14598565/serving-206-byte-range-through-nginx-django

i am not blindly following anything - i am looking at all the available information and referred to the nginx documentation - i am using what works and disregarding what does not. so far i have not found an explanation of this situation i am experiencing in the documentation or on forums, hence i am here asking.

in any case, i removed return 206;
the situation did not change.
i am unclear why removing 'return 206' would cause a 200 response to become a 206 response! ;)

" If range requests are
supported, the header will be added automatically."

i am making a simple request for a static mp4 file via curl to nginx 1.7.2.. i am not clear on your use of the idea of 'if range requests are supported' in this context. how would i know if they are supported or not?
Subject Author Posted

difficulty adding headers

ura June 27, 2014 11:50AM

Re: difficulty adding headers

Maxim Dounin June 27, 2014 12:50PM

Re: difficulty adding headers

ura June 27, 2014 12:54PM

Re: difficulty adding headers

ura June 27, 2014 12:58PM

Re: difficulty adding headers

Maxim Dounin June 27, 2014 02:08PM

Re: difficulty adding headers

ura June 27, 2014 02:23PM

Re: difficulty adding headers

ura June 27, 2014 02:50PM

Re: difficulty adding headers

Maxim Dounin June 27, 2014 03:22PM

Re: difficulty adding headers

ura June 27, 2014 07:26PM

Re: difficulty adding headers

Maxim Dounin June 27, 2014 10:02PM

Re: difficulty adding headers

ura June 28, 2014 10:44AM

Re: difficulty adding headers

ura June 28, 2014 12:17PM

Re: difficulty adding headers

Maxim Dounin June 30, 2014 03:18PM

Re: difficulty adding headers

ura June 30, 2014 04:34PM

Re: difficulty adding headers

Maxim Dounin June 30, 2014 08:34PM

Re: difficulty adding headers

ura July 04, 2014 09:48AM

Re: difficulty adding headers

Maxim Dounin July 04, 2014 12:36PM

Re: difficulty adding headers

Sophie Moussion July 25, 2014 03:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 294
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready