Open Wyzix33 opened 3 years ago
hello! yeah, current implementation lacks a lot. I think the best option would be to provide some hooks to let the devs customize the response details by themselves - this way the library will stay simple and powerful. Would you be willing to introduce such feature and submit a PR?
This can be an enhancement, you can get the 'accept-encoding' and encode the readStream using zlib based on contentType, I've done something like this in my project:
Good job with the library, I've searched for something like this and had to do it myself for a past project...