1
0
Fork 0
miniflux/internal/api
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
..
api.go Add /v1/version endpoint 2023-10-08 15:53:24 -07:00
category.go Refactor Batch Builder and prevent accidental and excessive refreshes from the web ui 2023-10-20 16:07:18 -07:00
entry.go Add API endpoint to update entry title and content 2023-10-06 23:27:19 -07:00
feed.go Refactor HTTP Client and LocalizedError packages 2023-10-22 13:09:30 -07:00
icon.go Add new API endpoint /icons/{iconID} 2023-10-06 13:52:33 -07:00
middleware.go Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00
opml.go Add command line argument to export user feeds 2023-09-27 21:45:23 -07:00
payload.go Add /v1/version endpoint 2023-10-08 15:53:24 -07:00
subscription.go Fix default User-Agent regression 2023-11-18 20:57:47 +01:00
user.go Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00