Skip to content

Conversation

@tzssangglass
Copy link
Contributor

I hereby granted the copyright of the changes in this pull request to the authors of this lua-resty-core project.

I hereby granted the copyright of the changes in this pull request
to the authors of this lua-resty-core project.

I hereby granted the copyright of the changes in this pull request
to the authors of this lua-resty-core project.

Signed-off-by: tzssangglass <tzssangglass@gmail.com>
@tzssangglass
Copy link
Contributor Author

sister PR: openresty/lua-nginx-module#2401

Bypasses the conditional header checks as defined in RFC 9110 for the current request.
This method is useful when you need to skip validation of headers such as `If-Modified-Since`,
`If-None-Match`, `If-Range`, `If-Unmodified-Since`, and `If-Match`, allowing the response to
proceed without evaluating these conditions.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about also writing down the Why? When people have to call this method?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add desc

Signed-off-by: tzssangglass <tzssangglass@gmail.com>
@zhuizhuhaomeng zhuizhuhaomeng merged commit 34a59a7 into openresty:master Mar 7, 2025
2 of 3 checks passed
@tzssangglass tzssangglass deleted the skip_preconditions branch June 16, 2025 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants