1
0
Fork 0
miniflux/internal/reader
Thomas J Faughnan Jr 7a03291442 Fix default User-Agent regression
The recent HTTP client refactor in 14e25ab9fe
introduced a bug in which the global default User-Agent is no longer
used for requests. Unless a per-feed User-Agent exists, the Go standard
library's default User-Agent is used, which looks something like
"Go-http-client/1.1". To fix this, make RequestBuilder.WithUserAgent
take an additional argument, the default User-Agent, which will be used
if there is no per-feed User-Agent (i.e. it is an empty string).

Fixes #2188
Fixes #2189
2023-11-18 20:57:47 +01:00
..
atom Update date parser to parse more invalid date formats 2023-11-01 20:55:35 +01:00
date Update date parser to parse more invalid date formats 2023-11-01 20:55:35 +01:00
dublincore Strip HTML tags from DublinCore Creator tags 2023-09-08 17:39:49 -07:00
encoding Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00
fetcher Fix default User-Agent regression 2023-11-18 20:57:47 +01:00
handler Fix default User-Agent regression 2023-11-18 20:57:47 +01:00
icon Refactor HTTP Client and LocalizedError packages 2023-10-22 13:09:30 -07:00
json Update date parser to parse more invalid date formats 2023-11-01 20:55:35 +01:00
media Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00
opml Refactor HTTP Client and LocalizedError packages 2023-10-22 13:09:30 -07:00
parser Refactor feed discovery and avoid an extra HTTP request if the url provided is the feed 2023-10-22 18:05:37 -07:00
processor Fix default User-Agent regression 2023-11-18 20:57:47 +01:00
rdf Update date parser to parse more invalid date formats 2023-11-01 20:55:35 +01:00
readability Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00
readingtime Replace github.com/rylans/getlang with github.com/abadojack/whatlanggo 2023-10-06 22:04:31 -07:00
rewrite Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00
rss Update date parser to parse more invalid date formats 2023-11-01 20:55:35 +01:00
sanitizer Allow iframes pointing to Twitch videos 2023-10-27 10:02:57 -07:00
scraper Refactor HTTP Client and LocalizedError packages 2023-10-22 13:09:30 -07:00
subscription Refactor feed discovery and avoid an extra HTTP request if the url provided is the feed 2023-10-22 18:05:37 -07:00
xml Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00