You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.markdown
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4121,7 +4121,7 @@ The same applies to assigning an empty table:
4121
4121
ngx.header["X-My-Header"] = {};
4122
4122
```
4123
4123
4124
-
Setting `ngx.header.HEADER` after sending out response headers (either explicitly with [ngx.send_headers](#ngxsend_headers) or implicitly with [ngx.print](#ngxprint) and similar) will throw out a Lua exception.
4124
+
Setting `ngx.header.HEADER` after sending out response headers (either explicitly with [ngx.send_headers](#ngxsend_headers) or implicitly with [ngx.print](#ngxprint) and similar) will log an error message.
4125
4125
4126
4126
Reading `ngx.header.HEADER` will return the value of the response header named `HEADER`.
Copy file name to clipboardExpand all lines: doc/HttpLuaModule.wiki
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3406,7 +3406,7 @@ The same applies to assigning an empty table:
3406
3406
ngx.header["X-My-Header"] = {};
3407
3407
</geshi>
3408
3408
3409
-
Setting <code>ngx.header.HEADER</code> after sending out response headers (either explicitly with [[#ngx.send_headers|ngx.send_headers]] or implicitly with [[#ngx.print|ngx.print]] and similar) will throw out a Lua exception.
3409
+
Setting <code>ngx.header.HEADER</code> after sending out response headers (either explicitly with [[#ngx.send_headers|ngx.send_headers]] or implicitly with [[#ngx.print|ngx.print]] and similar) will log an error message.
3410
3410
3411
3411
Reading <code>ngx.header.HEADER</code> will return the value of the response header named <code>HEADER</code>.
0 commit comments