nodegrass icon indicating copy to clipboard operation
nodegrass copied to clipboard

nodegrass is a tool to process client request for Node.js

Results 2 nodegrass issues
Sort by recently updated
recently updated
newest added

如何使用PATCH、PUT、DELETE等请求方式?

我看到你返回的数据编码根据的是发出请求的编码,而且只对gbk做了处理。 是否应该根据返回的Header来做优先编码处理? 然后,iconv-lite的编码确实少了点,依赖库改为iconv是不是会好点(虽然iconv不是纯js库)? PS:_sendPostReq这个函数缩进有点点小问题,嘿嘿,还有就是_sendPostReq和_sendGetReq能否合并?感觉代码区别不大的说。