Skip to content

fix: Request.protocol returns 'https' for HTTP/2 after RST_STREAM (#1736) - #1944

Open
guoyangzhen wants to merge 2 commits into
koajs:masterfrom
guoyangzhen:fix/http2-secure-protocol
Open

fix: Request.protocol returns 'https' for HTTP/2 after RST_STREAM (#1736)#1944
guoyangzhen wants to merge 2 commits into
koajs:masterfrom
guoyangzhen:fix/http2-secure-protocol

fix: Request.protocol returns 'https' for HTTP/2 after RST_STREAM (#1…

b0a07b4
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Aug 26, 2026 in 0s

99.80% (-0.10%) compared to d3ea8bf

View this Pull Request on Codecov

99.80% (-0.10%) compared to d3ea8bf

Details

Codecov Report

❌ Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 99.80%. Comparing base (d3ea8bf) to head (b0a07b4).
⚠️ Report is 20 commits behind head on master.

Files with missing lines Patch % Lines
lib/request.js 66.66% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1944      +/-   ##
==========================================
- Coverage   99.90%   99.80%   -0.10%     
==========================================
  Files           9        9              
  Lines        2094     2100       +6     
==========================================
+ Hits         2092     2096       +4     
- Misses          2        4       +2     

☔ View full report in Codecov by Harness.
📢 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.