inflation icon indicating copy to clipboard operation
inflation copied to clipboard

if I set the ctx.request.headers['content-encoding'] = 'utf-8',there will be an error。

Open lizuncong opened this issue 5 years ago • 1 comments

Error: Unsupported Content-Encoding: utf-8 at inflate (/Users/lizuncong/Documents/SheInProjects/mes_wechat/node_modules/inflation/index.js:23:15) at /Users/lizuncong/Documents/SheInProjects/mes_wechat/node_modules/co-body/lib/json.js:41:18

lizuncong avatar Oct 29 '19 07:10 lizuncong

@lizuncong I have encountered the same problem and have submitted pullrequests to be fixed. You can have a look https://github.com/stream-utils/inflation/pull/17#issue-503219025

jingxinxin avatar Oct 14 '20 09:10 jingxinxin