Title: Headit
Author: StampyCode
Published: <strong>2015 年 12 月 21 日</strong>
Last modified: 2017 年 4 月 25 日

---

搜索插件

![](https://ps.w.org/headit/assets/banner-772x250.png?rev=1313365)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/headit/assets/icon-256x256.png?rev=1313384)

# Headit

 作者：[StampyCode](https://profiles.wordpress.org/stampycode/)

[下载](https://downloads.wordpress.org/plugin/headit.1.0.3.zip)

 * [详情](https://cn.wordpress.org/plugins/headit/#description)
 * [评价](https://cn.wordpress.org/plugins/headit/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/headit/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/headit/#developers)

 [支持](https://wordpress.org/support/plugin/headit/)

## 描述

This plugin addresses the need for a simple way to add HTTP headers to outbound 
HTTP responses in your site.

These headers can include custom ones specific to your application, or can be security
related. Some you may wish to specify to protect your site may include:

 * Public-Key-Pins
 * Strict-Transport-Security
 * X-Frame-Options
 * X-XSS-Protection
 * X-Content-Type-Options
 * Content-Security-Policy
 * Content-Security-Policy-Report-Only

### Related Links

 * [Troy Hunt – Introducing you to browser security headers on Pluralsight](http://www.troyhunt.com/2015/09/introducing-you-to-browser-security.html)
 * [PluralSight.com – Introduction to Browser Security Headers](https://app.pluralsight.com/library/courses/browser-security-headers)
 * [OWASP – List of useful HTTP headers](https://www.owasp.org/index.php/List_of_useful_HTTP_headers)
 * [Scott Helme – Hardening your HTTP response headers](https://scotthelme.co.uk/hardening-your-http-response-headers/)

## 屏幕截图

 * [[
 * The plugin should appear in your plugins list when installed. Note the ‘Settings’
   link where you can configure for Headit.
 * [[
 * This is the settings window for Headit.

## 安装

This section describes how to install the plugin and get it working.

 1. Upload the plugin files to the `/wp-content/plugins/headit` directory, or install
    the plugin through the WordPress plugins screen directly
 2. Activate the plugin through the `Plugins` screen in WordPress
 3. Use the Settings->Headit screen to configure the plugin

## 常见问题

  Can I set dynamic headers using Headit?

Currently Headit can only be used to add static headers to your site.

  Can I override existing headers?

All headers added using this plugin will not replace existing headers present in
the response.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Headit」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ StampyCode ](https://profiles.wordpress.org/stampycode/)

[帮助将「Headit」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/headit)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/headit/)，查看[SVN仓库](https://plugins.svn.wordpress.org/headit/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/headit/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/headit/)。

## 更新日志

#### 1.0

 * Able to set custom static response headers

## 额外信息

 *  版本 **1.0.3**
 *  最后更新：**9 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **4.4.34**
 *  语言
 * [English (US)](https://wordpress.org/plugins/headit/)
 * 标签
 * [csp](https://cn.wordpress.org/plugins/tags/csp/)[csrf](https://cn.wordpress.org/plugins/tags/csrf/)
   [headers](https://cn.wordpress.org/plugins/tags/headers/)[http header](https://cn.wordpress.org/plugins/tags/http-header/)
   [xss](https://cn.wordpress.org/plugins/tags/xss/)
 *  [高级视图](https://cn.wordpress.org/plugins/headit/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/headit/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/headit/reviews/)

## 贡献者

 *   [ StampyCode ](https://profiles.wordpress.org/stampycode/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/headit/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://stampy.me)