aboutsummaryrefslogtreecommitdiff
path: root/internal/feed
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2022-01-09 22:14:56 +0100
committerRené 'Necoro' Neumann <necoro@necoro.eu>2022-01-10 00:16:44 +0100
commit5b3f0f96b7e345a82f0d963ddef1dd4569465145 (patch)
tree1870a1465cbef9f828137e2fcb37bd53dc611034 /internal/feed
parentc20aa09fb31e09819e8e5eca222b3de2049cbdf8 (diff)
downloadfeed2imap-go-5b3f0f96b7e345a82f0d963ddef1dd4569465145.tar.gz
feed2imap-go-5b3f0f96b7e345a82f0d963ddef1dd4569465145.tar.bz2
feed2imap-go-5b3f0f96b7e345a82f0d963ddef1dd4569465145.zip
Support sending cookies in a http request.
Diffstat (limited to 'internal/feed')
-rw-r--r--internal/feed/feed.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/feed/feed.go b/internal/feed/feed.go
index ffe831f..f31de65 100644
--- a/internal/feed/feed.go
+++ b/internal/feed/feed.go
@@ -38,6 +38,7 @@ func (feed *Feed) Context() http.Context {
return http.Context{
Timeout: feed.Global.Timeout,
DisableTLS: feed.NoTLS,
+ Cookies: feed.Cookies,
}
}