浏览代码

SEC-2777: Fix <header> attributes in doc

Rob Winch 10 年之前
父节点
当前提交
b79ba12502
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      docs/manual/src/asciidoc/index.adoc

+ 3 - 3
docs/manual/src/asciidoc/index.adoc

@@ -3764,7 +3764,7 @@ At times you may want to only write a header for certain requests. For example,
     <!-- ... -->
 
     <headers>
-        <header header-ref="headerWriter"/>
+        <header ref="headerWriter"/>
     </headers>
 </http>
 
@@ -6804,12 +6804,12 @@ The `name` of the header.
 
 
 [[nsa-header-value]]
-* **header-value**
+* **value**
 The `value` of the header to add.
 
 
 [[nsa-header-ref]]
-* **header-ref**
+* **ref**
 Reference to a custom implementation of the `HeaderWriter` interface.