Title: Issue: Security headers with blank response
Last modified: August 25, 2022

---

# Issue: Security headers with blank response

 *  Resolved [cjuan](https://wordpress.org/support/users/cjuan/)
 * (@cjuan)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/issue-security-headers-with-blank-response/)
 * Hi,
 * I have an issue with the plugin. I want to add some security headers but the 
   response, in some cases, are empty.
 * For example, I’m trying to set `x-content-type-options` to `nosniff`. I save 
   the configuration. To check it, i execute a curl on my web and this is what I
   receive:
 *     ```
       $ curl -IL https://myweb.com
       HTTP/2 200 
       content-type: text/html; charset=UTF-8
       date: Thu, 25 Aug 2022 08:09:53 GMT
       server: nginx
       x-content-type-options: 
       x-frame-options: sameorigin
       x-xss-protection: 1; mode=block
       ```
   
 * The same with `x-xss-protection`. But in this case I I’ve found a workarround:
   If I change the value, save it, and change it again to the value I want the header
   is correctly set. For `x-content-type-options` this doesn’t work because there
   is just one possible value.
 * Thanks in advanced for the help and your work!

Viewing 1 replies (of 1 total)

 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/issue-security-headers-with-blank-response/#post-15950148)
 * Thanks, I will fix it in the next version.

Viewing 1 replies (of 1 total)

The topic ‘Issue: Security headers with blank response’ is closed to new replies.

 * ![](https://ps.w.org/redirection/assets/icon-256x256.jpg?rev=983639)
 * [Redirection](https://wordpress.org/plugins/redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirection/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [John Godley](https://wordpress.org/support/users/johnny5/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/issue-security-headers-with-blank-response/#post-15950148)
 * Status: resolved