1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-09-30 19:22:11 +00:00
miniflux-v2/internal/reader/fetcher
jvoisin ff5ff7a704 refactor(fetcher): minor refactoring
- Replace a strings.HasPrefix + strings.Cut with a call to strings.CutPrefix.
- Instead of enumerating all possible redirection code, check if the code is
  300-something.
- Extract an error constructor outside of its current scope instead of
  duplicating it 5 times
- Use constant strings for LocalizedError's return values where possible.
2025-09-11 12:11:51 +02:00
..
encoding_wrappers.go reader/fetcher: add brotli content encoding support 2024-04-19 10:50:46 -07:00
request_builder.go refactor(fetcher): use time.Duration for client timeout values 2025-08-20 19:45:24 -07:00
request_builder_test.go refactor(fetcher): use time.Duration for client timeout values 2025-08-20 19:45:24 -07:00
response_handler.go refactor(fetcher): minor refactoring 2025-09-11 12:11:51 +02:00
response_handler_test.go refactor(reader): use time.Duration instead of minutes count 2025-08-20 19:45:24 -07:00