[PR #2353] [MERGED] fix: Accept more permissive RSS feed content types and Fix User-Agent key #2080

Closed
opened 2026-03-02 12:00:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/2353
Author: @ElectricTea
Created: 1/6/2026
Status: Merged
Merged: 1/11/2026
Merged by: @MohamedBassem

Base: mainHead: patch-1


📝 Commits (3)

  • 6896392 Fix User-Agent key and accept more permissive content types
  • 212de2f Fix: Remote trailing whitespace in feedWorker.ts
  • 63d7211 format

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 apps/workers/workers/feedWorker.ts (+2 -2)

📄 Description

Some feeds are Content-Type application/xml only and will respond with a 406 error to responses with a header of content type application/rss+xml. This change allows for the more permissive content types application/xml and text/xml to be accepted.

Also fixes "UserAgent" header key with correct "User-Agent".


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/karakeep-app/karakeep/pull/2353 **Author:** [@ElectricTea](https://github.com/ElectricTea) **Created:** 1/6/2026 **Status:** ✅ Merged **Merged:** 1/11/2026 **Merged by:** [@MohamedBassem](https://github.com/MohamedBassem) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (3) - [`6896392`](https://github.com/karakeep-app/karakeep/commit/68963921f725e93b9ff680a9953b9a1eecc2af01) Fix User-Agent key and accept more permissive content types - [`212de2f`](https://github.com/karakeep-app/karakeep/commit/212de2ff8fb498957bd9b46b417da96ebad531fc) Fix: Remote trailing whitespace in feedWorker.ts - [`63d7211`](https://github.com/karakeep-app/karakeep/commit/63d7211aefff4d8d5766ad768838e07e7c6d1431) format ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `apps/workers/workers/feedWorker.ts` (+2 -2) </details> ### 📄 Description Some feeds are Content-Type application/xml only and will respond with a 406 error to responses with a header of content type application/rss+xml. This change allows for the more permissive content types application/xml and text/xml to be accepted. Also fixes "UserAgent" header key with correct "User-Agent". --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 12:00:29 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#2080
No description provided.