Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kayx23 committed Dec 23, 2024
1 parent 0a41ede commit 6946683
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/en/latest/plugins/response-rewrite.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ X-Server-id: 3
X-Server-status: on
X-Server-balancer-addr: 50.237.103.220:80
{"code":"ok","message":"new json body"}
{"code":"ok","message":"new json body"}
```

### Rewrite Header With RegEx Filter
Expand Down Expand Up @@ -297,7 +297,7 @@ You should still receive an `HTTP/1.1 200 OK` response of the same, instead of `

This is because **header_filter** and **body_filter** phase logics of the `response-rewrite` Plugin will continue to run after [`ngx.exit`](https://openresty-reference.readthedocs.io/en/latest/Lua_Nginx_API/#ngxexit) in the **access** or **rewrite** phases from other plugins.

The following table summarizes the impact of `ngx.exit` on execution phases.
The following table summarizes the impact of `ngx.exit` on execution phases.

| Phase | rewrite | access | header_filter | body_filter |
|---------------|----------|----------|---------------|-------------|
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/latest/plugins/response-rewrite.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ X-Server-id: 3
X-Server-status: on
X-Server-balancer-addr: 50.237.103.220:80
{"code":"ok","message":"new json body"}
{"code":"ok","message":"new json body"}
```

### 使用 RegEx 过滤器重写标头
Expand Down

0 comments on commit 6946683

Please sign in to comment.