MDC counts HEAD calls as Requests (Downloads)
@scolapasta is already working on this.
Since Nov 9, 2020.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 564
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 29
Description
From a quick inspection, it looks like calling HEAD on /api/v1/access/datafile/ results in an mdc log entry that is identical to the one for a GET. Since the former doesn't actually send any bytes from the file, it should probably not be counted as a 'request'. I'm not sure if that means it should still be an 'investigation' or if Dataverse should just not report HEAD calls in the mdc logs. We may need to get some feedback from MDC folks about best practice for this.
In the meantime, it might be worthwhile to scan web logs to see if there is much use of HEAD currently that would raise the priority here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.