Skip to content

Feature Request: Return Last-Modified header with HTTP responses. #1

Description

@thesketh

Hi there. I work in the Contain Data Platform Team over in NHS Digital, and we consume PHE's data for a few of our public-facing dashboards.

We've got some special cases in our pipeline code which use the COVID-19 Python SDK to get the update timestamps from the V1 API, but we've been a bit concerned about using the timestamp from one version of the API to decide whether to fetch a file from another version. It would be great if we were able to do a HEAD request on the API to see if the files have been updated, but the Last-Modified header is missing from the response.

Is this something that you'd be able to add? Alternatively, if the team are busy working on other improvements, would a pull request to add this functionality be welcome?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions