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

Implement HEAD requests support for artifacts for hosted repositories #372

Closed
carlspring opened this issue Oct 25, 2017 · 3 comments
Closed

Comments

@carlspring
Copy link
Member

carlspring commented Oct 25, 2017

We need to be able to respond to HTTP HEAD requests issued against the org.carlspring.strongbox.controllers.maven.MavenArtifactController and org.carlspring.strongbox.controllers.nuget.NugetPackageController classes.

This task should only cover the implementation for HEAD requests against hosted repositories.

Possible headers to return:

  • Content-Length
  • Checksum-MD5
  • Checksum-SHA1
  • Creation-Date
  • Last-Updated

Also, as suggested by @fuss86, we need to add the same headers to the GET requests.

This task relates to #471 and #472.

@sanket407
Copy link
Contributor

Working on this .

@carlspring
Copy link
Member Author

@sanket407 ,

As per your request, I have updated the task's description.

@carlspring carlspring changed the title Implement HEAD requests support for artifacts Implement HEAD requests support for artifacts for hosted repositories Jan 3, 2018
carlspring added a commit that referenced this issue Jan 15, 2018
Added header support for Maven and Nuget - Hosted Repositories #372 [ready]
@carlspring
Copy link
Member Author

Implemented by @sanket407 in #491.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants