Skip to content

Add support for 410 Gone HTTP response#2311

Open
JoshMock wants to merge 3 commits into
mainfrom
410-gone
Open

Add support for 410 Gone HTTP response#2311
JoshMock wants to merge 3 commits into
mainfrom
410-gone

Conversation

@JoshMock

Copy link
Copy Markdown
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.

@pquentin pquentin left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
Member Author

I have no problem waiting to merge.

@JoshMock

Copy link
Copy Markdown
Member Author

Closing this since it's so old.

@JoshMock JoshMock closed this Jan 14, 2025
@pquentin

pquentin commented Jan 16, 2025

Copy link
Copy Markdown
Member

Sorry that I did not look into it yet, but I haven't totally given up on this. 🙈

@pquentin pquentin reopened this Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants