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
Accept responses with no etag header #3865
Conversation
If the server does not provide an etag header, treat all responses as a cache miss. This should allow 3rd party gem servers to more easily provide compact_index results. /cc @mperham See also sidekiq/sidekiq#4158.
@deivid-rodriguez have you seen this kind of failure on windows before? I'm confused about why it passes everywhere but windows 😬 |
Yes, I've seen those in the past in other places. I think it would happen randomly only on Windows when trying to rename a folder while being inside it. |
I have no idea why the changes in this PR make the failure happen, but since the spec failing is the one being touched by this PR, it should be related to these changes. |
I'll have a look at this tomorrow, see if I can figure it out. |
Oh no, I think I figured it out. The existing test hard-codes |
This looks good to me. 👍 |
@indirect this patch is not in |
I forgot to backport this, sorry. Will set it for the next release. |
awesome, thanks! |
Stable branch for bundler-2.2 is that same as for rubygems-3.2 (the 3.2 branch), and tags are prefixed with |
@indirect I wasn't sure of how to tag this PR. I went with |
Thanks, that helps. I didn't find the tags because github truncates the list, but searching works fine 👍 |
@deivid-rodriguez yeah, I would categorize this as a bugfix. It was the intended behavior, and this was fixing the implementation to match what we intended. 👍 |
Thanks @indirect! |
Accept responses with no etag header (cherry picked from commit 14e11e0)
Accept responses with no etag header (cherry picked from commit 14e11e0)
Accept responses with no etag header (cherry picked from commit 14e11e0)
Accept responses with no etag header (cherry picked from commit 14e11e0)
If the server does not provide an etag header, treat all responses as a
cache miss. This should allow 3rd party gem servers to more easily
provide compact_index results. /cc @mperham
See also sidekiq/sidekiq#4158.