Skip to content

OpenResty: add plain integer type to ngx.http.status_code#1700

Merged
carsakiller merged 1 commit into
LuaLS:masterfrom
flrgh:fix/resty-ngx-http-status
Nov 16, 2022
Merged

OpenResty: add plain integer type to ngx.http.status_code#1700
carsakiller merged 1 commit into
LuaLS:masterfrom
flrgh:fix/resty-ngx-http-status

Conversation

@flrgh
Copy link
Copy Markdown
Contributor

@flrgh flrgh commented Nov 16, 2022

👋 small annotation update


Both of these are legal (and common in OpenResty code):

ngx.exit(ngx.HTTP_OK)
ngx.exit(200)

Both of these are legal (and common in OpenResty code):

ngx.exit(ngx.HTTP_OK)
ngx.exit(200)
@carsakiller carsakiller added documentation Has to do with documentation either in the wiki or in the repo and removed documentation Has to do with documentation either in the wiki or in the repo labels Nov 16, 2022
@carsakiller
Copy link
Copy Markdown
Collaborator

Thanks! 🙂

@carsakiller carsakiller merged commit 1fbe3c1 into LuaLS:master Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Has to do with documentation either in the wiki or in the repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants