Skip to content

feat: serialize with URLSearchParams for application/x-www-form-urlencoded content type header#482

Merged
pi0 merged 5 commits intounjs:mainfrom
kricsleo:feat/x-www-form-urlencoded
Aug 29, 2025
Merged

feat: serialize with URLSearchParams for application/x-www-form-urlencoded content type header#482
pi0 merged 5 commits intounjs:mainfrom
kricsleo:feat/x-www-form-urlencoded

Conversation

@kricsleo
Copy link
Member

…orm-urlencoded`

resolves #425

@codecov
Copy link

codecov bot commented Mar 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.04%. Comparing base (27996d3) to head (70ee9fa).
⚠️ Report is 76 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #482       +/-   ##
===========================================
+ Coverage   56.86%   87.04%   +30.17%     
===========================================
  Files          16        7        -9     
  Lines         728      440      -288     
  Branches      113      131       +18     
===========================================
- Hits          414      383       -31     
+ Misses        303       56      -247     
+ Partials       11        1       -10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pi0 pi0 changed the title feat: stringify body to search string for Content-Type: application/x-www-form-urlencoded feat: serialize with URLSearchParams for application/x-www-form-urlencoded content type header Aug 29, 2025
Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ❤️

@pi0 pi0 merged commit f528da3 into unjs:main Aug 29, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check if the body should be parsed to handle x-www-form-urlencoded payloads

2 participants