MyUnisoft / httpie

A modern and light Node.js http client 🐢🚀 (built with undici under the hood).
MIT License
14 stars 4 forks source link

Improve error handling and response parser #232

Closed SofianD closed 6 months ago

SofianD commented 7 months ago

feat: add tool to decompress and parse.

feat: handle errors by stage

refactor: use class to handle http error

chore: export 'UndiciResponseHandler', isHTTPError and isHttpieError

docs: add doc about error handling