Skip to content

Commit a05073d

Browse files
committed
doc: typo fix from Harold via openresty#446.
1 parent 8e79804 commit a05073d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3887,7 +3887,7 @@ Set the current request's request header named `header_name` to value `header_va
38873887

38883888
By default, all the subrequests subsequently initiated by [ngx.location.capture](#ngxlocationcapture) and [ngx.location.capture_multi](#ngxlocationcapture_multi) will inherit the new header.
38893889

3890-
Here is an example of setting the `Content-Length` header:
3890+
Here is an example of setting the `Content-Type` header:
38913891

38923892
```lua
38933893

doc/HttpLuaModule.wiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3221,7 +3221,7 @@ Set the current request's request header named <code>header_name</code> to value
32213221
32223222
By default, all the subrequests subsequently initiated by [[#ngx.location.capture|ngx.location.capture]] and [[#ngx.location.capture_multi|ngx.location.capture_multi]] will inherit the new header.
32233223
3224-
Here is an example of setting the <code>Content-Length</code> header:
3224+
Here is an example of setting the <code>Content-Type</code> header:
32253225
32263226
<geshi lang="lua">
32273227
ngx.req.set_header("Content-Type", "text/css")

0 commit comments

Comments
 (0)