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

Fallback to fresh request on non-validating 304 #2218

Merged
merged 2 commits into from
Mar 6, 2024
Merged

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Mar 5, 2024

Summary

We're seeing reports that Sonatype Nexus isn't working with cached data. Users are reporting 304 responses that show "Found modified response..." path in the logs. I can't reproduce this on latest Sonatype Nexus, but my best guess is that there's a 304 response that is failing our validators, and we try to use that as if it's a "complete" response?

Closes #1754.

@charliermarsh charliermarsh marked this pull request as ready for review March 5, 2024 20:27
@charliermarsh charliermarsh added compatibility Compatibility with a specification or another tool registry Related to package indexes and registries labels Mar 5, 2024
@charliermarsh charliermarsh requested a review from BurntSushi March 5, 2024 20:30
@charliermarsh charliermarsh enabled auto-merge (squash) March 6, 2024 22:46
@charliermarsh charliermarsh merged commit 2305998 into main Mar 6, 2024
7 checks passed
@charliermarsh charliermarsh deleted the charlie/304 branch March 6, 2024 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Compatibility with a specification or another tool registry Related to package indexes and registries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uv pip install with Nexus give "Missing 'Content-Type"` error
2 participants