aboutsummaryrefslogtreecommitdiff
path: root/internal/model/feed_test.go
diff options
context:
space:
mode:
authorGravatar Thomas J Faughnan Jr <thomas@faughnan.net> 2023-11-29 17:10:19 -0500
committerGravatar Frédéric Guillot <f@miniflux.net> 2023-11-29 19:46:50 -0800
commitfe0ef8b5795e4e2a4092a22d6a4ace9b6b0a7783 (patch)
tree8fa23f3940a67376186ce8515c0bb94dbea1032d /internal/model/feed_test.go
parent586a04f812be925140d0c1fc6e62e675ce38917a (diff)
downloadv2-fe0ef8b5795e4e2a4092a22d6a4ace9b6b0a7783.tar.gz
v2-fe0ef8b5795e4e2a4092a22d6a4ace9b6b0a7783.tar.zst
v2-fe0ef8b5795e4e2a4092a22d6a4ace9b6b0a7783.zip
Fix conditional requests regression
The recent HTTP client refactor in 14e25ab9fe09b9951b38e56af2bdff7a0737b280 caused feed refreshes to no longer make conditional requests. Prior to the refactor, `client.WithCacheHeaders` handled this. Now this function is split into `fetcher.WithETag` and `fetcher.WithLastModified` but these functions are only declared and never actually used. Fix this by calling them inside `handler.RefreshFeed`.
Diffstat (limited to 'internal/model/feed_test.go')
0 files changed, 0 insertions, 0 deletions