Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thesketh opened this issue Apr 12, 2021 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@thesketh
Copy link

thesketh commented Apr 12, 2021

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?

@xenatisch xenatisch self-assigned this Apr 15, 2021
@xenatisch xenatisch added the enhancement New feature or request label Apr 15, 2021
@xenatisch
Copy link
Contributor

Thank you for getting in touch. I have added this request to our backlog for consideration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants