Open qqmyers opened 3 years ago
Thanks @qqmyers for the report, we should look into this.
@mfenner, hope you're doing well. Do you have any guidance about how we should handle HEAD calls as Jim discusses above? I took a look through the Counter and MDC docs and couldn't find anything specific.
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.