wendux / fly

:rocket: Supporting request forwarding and Promise based HTTP client for all JavaScript runtimes.
https://wendux.github.io/dist/#/language
MIT License
3.9k stars 639 forks source link

responseType为json,尝试访问responseText,触发异常。 #247

Open stone62202119 opened 4 years ago

stone62202119 commented 4 years ago

responseType为json,服务器端返回的engine.response为null时,尝试访问responseText,触发异常,得到undefined错误。

codecov-io commented 4 years ago

Codecov Report

Merging #247 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #247   +/-   ##
======================================
  Coverage    86.1%   86.1%           
======================================
  Files           1       1           
  Lines         259     259           
======================================
  Hits          223     223           
  Misses         36      36

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fced928...c2c8d35. Read the comment docs.

stone62202119 commented 4 years ago

是不是不维护了?