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

Add support for 410 Gone HTTP response #2311

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add support for 410 Gone HTTP response #2311

wants to merge 2 commits into from

Conversation

JoshMock
Copy link
Member

Adds support for 410 Gone HTTP response status, so a more useful exception is raised when an Elasticsearch API is unavailable. See elastic/elasticsearch#97397.

Copy link
Member

@pquentin pquentin left a comment

Choose a reason for hiding this comment

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

Since elastic/elasticsearch#97397 does not work in practice, I'm a bit reluctant to add this until we can prove it works. That said, the code looks good, so I'm happy to merge it if you prefer.

@JoshMock
Copy link
Member Author

I have no problem waiting to merge.

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.

2 participants