[PR #195] [CLOSED] [FIX] Fix and improve content type extract function #120

Closed
opened 2025-12-29 08:31:32 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/195
Author: @Rezrazi
Created: 3/27/2025
Status: Closed

Base: masterHead: patch-1


📝 Commits (2)

  • e8cd0e7 fix content type extract function
  • 352115e Merge branch 'master' into patch-1

📊 Changes

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

View changed files

📝 src-web/lib/model_util.ts (+3 -1)

📄 Description

As some server actually append a charset to the content type, and this is compliant, the util function was improved to account for those

CleanShot 2025-03-27 at 20 47 32@2x


🔄 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/mountain-loop/yaak/pull/195 **Author:** [@Rezrazi](https://github.com/Rezrazi) **Created:** 3/27/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (2) - [`e8cd0e7`](https://github.com/mountain-loop/yaak/commit/e8cd0e73900e16c8be81a23a8c7e3d9e1a65a3c3) fix content type extract function - [`352115e`](https://github.com/mountain-loop/yaak/commit/352115e86f19400cb805e962fc03c47fb23275d8) Merge branch 'master' into patch-1 ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src-web/lib/model_util.ts` (+3 -1) </details> ### 📄 Description As some server actually append a charset to the content type, and this is compliant, the util function was improved to account for those ![CleanShot 2025-03-27 at 20 47 32@2x](https://github.com/user-attachments/assets/d5f37fe5-fe60-43bf-87eb-88743745cec5) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 08:31:32 +01:00
adam closed this issue 2025-12-29 08:31:32 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/yaak-mountain-loop#120