On Wed, Oct 07, 2015 at 12:19:56PM +0200, Joó Ádám wrote:

Hi there,

> I noticed that when adding a `Content-Security-Policy` header to the
> response, the header name gets lowercased. Neither
> `Content-Security-Polic` or `Content-Security-Policyy`, or any other
> header I came across gets lowercased. Is this a bug?

Works for me:

===
    server {
        add_header Content-Security-Policy "nginx $request_uri";
        listen 8195;
    }
===

$ curl -sI http://localhost:8195/300.txt | grep nginx
Server: nginx/1.9.5
Content-Security-Policy: nginx /300.txt

How can I reproduce the problem that you see?

        f
-- 
Francis Daly        [email protected]

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to