node-modules / urllib

Request HTTP(s) URLs in a complex world.
MIT License
726 stars 117 forks source link

๐Ÿ› FIX: Keep req.options on error response event #405

Closed fengmk2 closed 1 year ago

fengmk2 commented 1 year ago

Keep 'response' event compatibility

see https://github.com/node-modules/urllib/pull/391

codecov[bot] commented 1 year ago

Codecov Report

Merging #405 (8da0ad5) into master (315b627) will increase coverage by 0.84%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #405      +/-   ##
==========================================
+ Coverage   98.42%   99.26%   +0.84%     
==========================================
  Files           6        6              
  Lines         950      957       +7     
  Branches      212      213       +1     
==========================================
+ Hits          935      950      +15     
+ Misses         15        7       -8     
Impacted Files Coverage ฮ”
src/HttpClient.ts 99.49% <100.00%> (+1.38%) :arrow_up:

:mega: Weโ€™re building smart automated test selection to slash your CI/CD build times. Learn more

fengmk2 commented 1 year ago

3.2.2