audiobookshelf/server/utils
Michael Vincent 3f7af8acfb Add Accept-Encoding header to getPodcastFeed()
This commit adds the Accept-Encoding header to getPodcastFeed() with
gzip, compress, and deflate support. This allows servers to send a
compressed response that'll be decompressed by axios transparently.

Audiobookshelf is currently using axios v0.27.2, which enables the
decompress option by default. The decompress feature supports gzip,
compress, and deflate algorithms (see axios/lib/adapters/http.js).
axios v0.27.2 does not add the Accept-Encoding header to requests
automatically, so that's the responsibility of the caller.
2025-02-05 23:12:58 -06:00
..
generators Update:Book series embeds in grouping meta tag as semicolon deliminated, book meta tag parser falls back to using grouping tag for series if set #3473 2024-10-20 16:58:13 -05:00
migrations Migrate tools and collapse series. fix continue shelves. remove old objects 2025-01-05 14:09:03 -06:00
parsers Fix name parser to not use "last, first" format when not using comma separators. Adds unit tests #3940 2025-02-05 17:25:31 -06:00
queries Migrate tools and collapse series. fix continue shelves. remove old objects 2025-01-05 14:09:03 -06:00
areEquivalent.js Add feed migration and cleanup 2023-07-05 18:18:37 -05:00
comicBookExtractors.js Fix catch exception on failed to parse comic metadata #3804 2025-01-08 16:53:56 -06:00
constants.js Add mime types for MPEG/MPG 2024-11-01 09:12:40 -05:00
ffmpegHelpers.js Update podcast downloads to fallback to download without tagging due to inaccurate rss feed enclosures #3837 2025-01-14 15:48:06 -06:00
fileUtils.js Update downloadFile to debug log percentage complete 2025-02-05 16:15:00 -06:00
globals.js 'mpg' and 'mpeg' added as supported audio-type/file-extension 2024-10-31 15:29:40 +01:00
htmlEntities.js Ability to decode HTML Entities when all tags are stripped. Fixes #929 2022-08-30 19:20:35 -04:00
htmlSanitizer.js Update custom metadata provider results to sanitize html descriptions #3880 2025-01-26 10:51:18 -06:00
index.js Update RSS feed to exclude empty tags, format duration, use CDATA 2025-01-20 13:57:56 -06:00
libraryHelpers.js Migrate tools and collapse series. fix continue shelves. remove old objects 2025-01-05 14:09:03 -06:00
longTimeout.js Fix:Shares not working with timeouts longer than 23 days #3164 2024-07-27 17:40:51 -05:00
notifications.js Add localization for notification descriptions 2024-10-12 15:22:21 -05:00
podcastUtils.js Add Accept-Encoding header to getPodcastFeed() 2025-02-05 23:12:58 -06:00
prober.js Fix merging embedded chapters for multi-track audiobooks giving incorrect chapter ids #3361 2025-01-12 09:56:48 -06:00
scandir.js Update JSDocs for groupFileItemsIntoLibraryItemDirs 2024-12-04 16:30:35 -06:00
zipHelpers.js Change: no compression when downloading library item as zip file 2024-12-07 16:52:31 -07:00