Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[validators.http] Add last modified header validation #493

Merged
merged 9 commits into from Sep 7, 2023

Conversation

robpickerill
Copy link
Contributor

This PR adds support for validating if the last modified header is within the specified time duration.

Resolves #414

@manugarg manugarg added this to the v0.13.0 milestone Sep 5, 2023
@manugarg manugarg changed the title Add last modified header validation [validators.http] Add last modified header validation Sep 5, 2023
Copy link
Contributor

@manugarg manugarg left a comment

Choose a reason for hiding this comment

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

One minor thing, I missed before approving.

validators/http/http.go Outdated Show resolved Hide resolved
@robpickerill
Copy link
Contributor Author

robpickerill commented Sep 7, 2023

My apologies Manu, I had missed the suggestion – now accepted and merged master, I think you should be good to go now, thanks!

Edit: let me quickly patch up those tests.

@robpickerill
Copy link
Contributor Author

Patched, and you're now good to go! 👍

@manugarg
Copy link
Contributor

manugarg commented Sep 7, 2023

My apologies Manu, I had missed the suggestion – now accepted and merged master, I think you should be good to go now, thanks!

Edit: let me quickly patch up those tests.

Thanks! No worries.

@manugarg manugarg merged commit 2057270 into cloudprober:master Sep 7, 2023
5 checks passed
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.

Support for checking and comparing value in Last-Modified Header
3 participants