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

feat: Use conditional requests for RSS feeds #462

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

charlesharries
Copy link

@charlesharries charlesharries commented Mar 17, 2025

Resolves #413 by caching feed responses along with Last-Modified and Etag headers for use in successive feed requests (with If-Modified-Since and If-None-Match.

A bit more context about expected RSS feed request headers can be found here:
https://rachelbythebay.com/fs/help.html

I've also added a User-Agent header indicating that the request has come from Glance (with version number) instead of the generic Go-http-client/1.1.

@svilenmarkov
Copy link
Member

Hey, thanks for contributing!

I'll get this merged for v0.8.

@svilenmarkov svilenmarkov added this to the v0.8.0 milestone Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants