Welcome! Log In Create A New Profile

Advanced

Re: X-Frame-Options: Nginx includes header twice

Some Developer
January 28, 2014 06:06AM
On 27/01/2014 09:50, Jonathan Matthews wrote:
> On 27 January 2014 02:49, Some Developer <someukdeveloper@gmail.com> wrote:
>> Seems a bit strange to me that an application framework sets HTTP headers.
>> Surely this should be left to the HTTP server? What are other peoples
>> opinions on this?
> There are many instances where the application is the most
> knowledgable layer regarding which HTTP headers to send: think
> caching; think keep-alive. In general, the absolute /least/ you can do
> in the reverse-proxy layer, the better. IMHO.
>
> J
>
Fair enough. It would be somewhat easier to manage if all headers were
implemented in one place or the other. If I could set arbitary headers
in Django then I could do it all there but at the moment I have some
headers set in my Nginx configuration and some headers that appear to be
set in Django and that just makes it confusing.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

X-Frame-Options: Nginx includes header twice

Some Developer January 24, 2014 11:06PM

Re: X-Frame-Options: Nginx includes header twice

artem January 25, 2014 02:52AM

Re: X-Frame-Options: Nginx includes header twice

Some Developer January 26, 2014 09:50PM

Re: X-Frame-Options: Nginx includes header twice

Jonathan Matthews January 27, 2014 04:52AM

Re: X-Frame-Options: Nginx includes header twice

Some Developer January 28, 2014 06:06AM

Re: X-Frame-Options: Nginx includes header twice

Jonathan Matthews January 28, 2014 06:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 268
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