Skip to content

Inconsistencies in reported size of files #5321

@Xarthisius

Description

@Xarthisius

Search API returns size that's inconsistent with the actual size of file being downloaded. E.g.

$ curl -s https://dataverse.harvard.edu/api/search?q=filePersistentId:JKTORG | jq '.data.items[0].size_in_bytes'
12025

whereas

$ curl -s -I https://dataverse.harvard.edu/api/access/datafile/3040230 | grep Content-Length
Content-Length: 12100

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions