IQSS / IQSS/dataverse

MDC counts HEAD calls as Requests (Downloads)

Open
#7,397 1 comment 0 reactions 1 assignee View on GitHub

@scolapasta is already working on this.

Since Nov 9, 2020.

Help Wanted: Code
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.