-
Notifications
You must be signed in to change notification settings - Fork 208
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
Add support for Etag, Last-Modified, If-None-Match and If-Modified-Since http headers on request and response #111
Comments
I agree, this should be something we support. I honestly never expected people to use ParseURL() very much, and instead expected them to make their own HTTP requests and feed the reader to gofeed. But it seems people do want to use it, so I should make this interface more robust. |
I'll just leave this here:
|
@mmcdole I only needed to extend the struct to add |
I could make a PR that modifies the ParseURL function like this: |
@requaos I like the idea of the variadic parameter. I think that would be a good idea. Some items in Options that I know people have requested:
|
Are there any updates on this issue yet? |
I like this idea, but how would the operator retrieve the Etag/Last-Modified header values from the ParseURL api? There's nowhere to output it, so I guess you'd have to modify the I think the only option may be a new api like the idea by requaos above. #111 (comment) |
Please also consider somehow facilitating responding well to (200 and 304) See: https://www.earth.org.uk/RSS-efficiency.html Rgds Damon |
Expected behavior
Getting the Etag and Last-Modified header values on the Feed object
Actual behavior
These values are not inspected for or provided
The text was updated successfully, but these errors were encountered: