---
title: "Comment by David Bekham on \"HTTP Security Headers and how to set them in Next.js\" | Hashnode"
description: "Hello Kieran, I just implemented the CSP using the same format and Next JS shows the CSP headers during the request in the localhost. But if I am running the sa"
url: "https://hashnode.com/posts/http-security-headers-and-how-to-set-them-in-nextjs/610cfac5b79d6a113667f255/comment/63498af4f54817496976ee2f"
---

[Discussion](https://hashnode.com/posts/http-security-headers-and-how-to-set-them-in-nextjs/610cfac5b79d6a113667f255)

Comment [HTTP Security Headers and how to set them in Next.js](https://hashnode.com/posts/http-security-headers-and-how-to-set-them-in-nextjs/610cfac5b79d6a113667f255)

[David Bekham](https://hashnode.com/@davidc87)

[Oct 14, 2022](https://hashnode.com/posts/http-security-headers-and-how-to-set-them-in-nextjs/610cfac5b79d6a113667f255/comment/63498af4f54817496976ee2f)

Hello Kieran,

I just implemented the CSP using the same format and Next JS shows the CSP headers during the request in the localhost. But if I am running the same code in the Staging or Prod enviornment its not showing up.
