[PR #507] [MERGED] Fix Insomnia text body imports #3356

Closed
opened 2026-07-15 02:03:14 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/507
Author: @gschier
Created: 7/14/2026
Status: Merged
Merged: 7/14/2026
Merged by: @gschier

Base: mainHead: agent/import-insomnia-text-bodies


📝 Commits (2)

  • f211a9f Fix Insomnia text body imports
  • 0381f18 Merge branch 'main' into agent/import-insomnia-text-bodies

📊 Changes

4 files changed (+188 additions, -89 deletions)

View changed files

📝 plugins/importer-insomnia/src/common.ts (+87 -0)
📝 plugins/importer-insomnia/src/v4.ts (+2 -42)
📝 plugins/importer-insomnia/src/v5.ts (+8 -47)
plugins/importer-insomnia/tests/body.test.ts (+91 -0)

📄 Description

Fixes Insomnia imports that silently dropped XML and other textual request bodies.

  • Share HTTP body mapping between the v4 and v5 importers
  • Map JSON and XML suffix MIME types to native Yaak body types
  • Preserve remaining text as other and retain Content-Type
  • Add focused regression coverage

https://yaak.app/feedback/posts/insomnia-xml-payloads-are-not-imported


🔄 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/507 **Author:** [@gschier](https://github.com/gschier) **Created:** 7/14/2026 **Status:** ✅ Merged **Merged:** 7/14/2026 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `main` ← **Head:** `agent/import-insomnia-text-bodies` --- ### 📝 Commits (2) - [`f211a9f`](https://github.com/mountain-loop/yaak/commit/f211a9f8454ee7c7154375929a991710ceb43a17) Fix Insomnia text body imports - [`0381f18`](https://github.com/mountain-loop/yaak/commit/0381f18c293ae64020cd56ee722a530399a88eed) Merge branch 'main' into agent/import-insomnia-text-bodies ### 📊 Changes **4 files changed** (+188 additions, -89 deletions) <details> <summary>View changed files</summary> 📝 `plugins/importer-insomnia/src/common.ts` (+87 -0) 📝 `plugins/importer-insomnia/src/v4.ts` (+2 -42) 📝 `plugins/importer-insomnia/src/v5.ts` (+8 -47) ➕ `plugins/importer-insomnia/tests/body.test.ts` (+91 -0) </details> ### 📄 Description Fixes Insomnia imports that silently dropped XML and other textual request bodies. * Share HTTP body mapping between the v4 and v5 importers * Map JSON and XML suffix MIME types to native Yaak body types * Preserve remaining text as `other` and retain `Content-Type` * Add focused regression coverage https://yaak.app/feedback/posts/insomnia-xml-payloads-are-not-imported --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-07-15 02:03:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/yaak#3356