Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] 项目很好,添加了mock的新特征,差一个文件流的就好了 #38

Open
ElvenYao opened this issue Jun 24, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@ElvenYao
Copy link

mock可以拦截请求,模拟数据都是好的。
项目中很多时候会需要模拟文件流的情况,mock返回的是json字符串,将文件流破坏了,要是可以拦截下载的请求,模拟文件流回传会更出彩。当然,文件可以本地的某特殊文件,word,excel,test,zip,image等

@ElvenYao ElvenYao added the enhancement New feature or request label Jun 24, 2020
@wll8
Copy link
Contributor

wll8 commented Jan 18, 2021

@ElvenYao 文档流这种可能另一种工具来做比较好一些 https://github.com/wll8/mockm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants