8000 Set HTTP Accept header by ybasket · Pull Request #2367 · coursier/coursier · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Set HTTP Accept header #2367

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

Merged
merged 1 commit into from
Feb 22, 2022

Conversation

ybasket
Copy link
Contributor
@ybasket ybasket commented Feb 9, 2022

Works around problems with remote repositories like AWS CodeArtifact that return 404 on maven-metadata.xml if requested with JVM's default Accept HTTP header (which is text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 – see here).

Works around remote repositories like AWS CodeArtifact that return 404 on maven-metadata.xml if requested with JVM's default Accept header (which is "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2").
@ybasket
Copy link
Contributor Author
ybasket commented Feb 10, 2022

The one CI job seems to have failed for no good reason, it's the GitHub cache action that got stuck downloading 🤷

Copy link
Member
@alexarchambault alexarchambault left a comment

Choose a reason for hiding this comment

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

Thanks!

@alexarchambault alexarchambault merged commit 2cb552e into coursier:master Feb 22, 2022
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
0