doc: more typo fixes from Lance Li in #565.

This commit is contained in:
Yichun Zhang (agentzh) 2015-09-13 12:14:46 +08:00
Родитель 74aecfe720
Коммит c93567d704
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -3895,14 +3895,14 @@ However, the optional `max_headers` function argument can be used to override th
```lua
local args = ngx.req.get_headers(10)
local headers = ngx.req.get_headers(10)
```
This argument can be set to zero to remove the limit and to process all request headers received:
```lua
local args = ngx.req.get_headers(0)
local headers = ngx.req.get_headers(0)
```
Removing the `max_headers` cap is strongly discouraged.

Просмотреть файл

@ -3226,13 +3226,13 @@ Note that a maximum of 100 request headers are parsed by default (including thos
However, the optional <code>max_headers</code> function argument can be used to override this limit:
<geshi lang="lua">
local args = ngx.req.get_headers(10)
local headers = ngx.req.get_headers(10)
</geshi>
This argument can be set to zero to remove the limit and to process all request headers received:
<geshi lang="lua">
local args = ngx.req.get_headers(0)
local headers = ngx.req.get_headers(0)
</geshi>
Removing the <code>max_headers</code> cap is strongly discouraged.