-
Notifications
You must be signed in to change notification settings - Fork 115
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
Add option to set If-Match
eTag for objects write requests
#205
Conversation
96964d7
to
9e55215
Compare
# We get an exception and after reading the error message we can see that the reason is that the eTag is outdated. | ||
print(f"Update failed: {e.get_error_message().get('message')}") | ||
except Exception as e: | ||
print(f"Unexpected error: {e}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have the possibility to check that the HTTP status code is 412?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes. added to this example
@pubnub-release-bot release |
🚀 Release successfully completed 🚀 |
feat: Write protection with
If-Match
eTag headerWrite protection with
If-Match
eTag header for setting channel and uuid metadata