#299·Mock

MockXMLHttpRequest 在处理二进制流类型的响应时的结果与源生方法不一致

作者: musheng66创建于 2018年6月13日更新于 2026年6月9日

As the title suggests, we encountered the following problem when downloading files in front-end and back-end synchronization: The server-side returned file is a binary stream, and the source request will normally return it as a blob object, while the mock will convert it to a string.